#23135C#23135C

#23135C is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.121 H 284.6°. Best body text is #FFFFFF at 15.92:1 contrast (WCAG AA passes).

Color values

HEX#23135C
RGBrgb(35, 19, 92)
HSLhsl(253, 66%, 22%)
HSVhsv(253, 79%, 36%)
CMYKcmyk(62%, 79.3%, 0%, 63.9%)
CIE-LABlab(13.20, 29.59, -40.72)
CIE-LCHlch(13.20, 50.34, 306.00°)
OKLaboklab(26.48% 0.0305 -0.1173)
OKLCHoklch(26.48% 0.121 284.6)
XYZxyz(2.8572, 1.5956, 10.2806)
Luminance0.0160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23135C #4C5C13
analogous
#13285C #23135C #48135C
triadic
#23135C #5C2313 #135C23
tetradic
#23135C #5C1328 #4C5C13 #135C48
square
#23135C #5C1328 #4C5C13 #135C48
split-complementary
#23135C #5C4813 #285C13
monochromatic
#0A0519 #100929 #23135C #361D8F #4A28C1

Accessibility & contrast

On white

15.92
#23135C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#23135C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23135C
15.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23135C#FFFFFF#000000##FFFFFF
##23135C1.0015.921.3215.92
#FFFFFF15.921.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00245E
Deuteranopia (green-blind)
#00205B
Tritanopia (blue-blind)
#052736
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #23135c;
/* rgb */ color: rgb(35, 19, 92);
/* oklch */ color: oklch(26.5% 0.121 284.6);
Tailwind
colors: {
  custom: {
    50: '#66538b',
    500: '#23135c',
    950: '#000000',
  },
}
SCSS
$custom: #23135c;
$custom-light: #66538b;
$custom-dark: #000000;
JSON
{
  "hex": "#23135c",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 92
  },
  "hsl": {
    "h": 253.151,
    "s": 65.766,
    "l": 21.765
  },
  "oklch": {
    "l": 0.26483,
    "c": 0.12117,
    "h": 284.6
  },
  "luminance": 0.01596
}

Semantic roles & 50–950 ramp

primary
#23135C
secondary
#809437
accent
#E93FC4
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #23135C

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#23135C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva