#23116C#23116C

#23116C is a dark, vivid violet. Relative luminance 0.018; OKLCH L 28.0% C 0.144 H 280.8°. Best body text is #FFFFFF at 15.35:1 contrast (WCAG AA passes).

Color values

HEX#23116C
RGBrgb(35, 17, 108)
HSLhsl(252, 73%, 25%)
HSVhsv(252, 84%, 42%)
CMYKcmyk(67.6%, 84.3%, 0%, 57.6%)
CIE-LABlab(14.63, 35.89, -48.97)
CIE-LCHlch(14.63, 60.72, 306.24°)
OKLaboklab(28.02% 0.027 -0.1413)
OKLCHoklch(28.02% 0.144 280.8)
XYZxyz(3.5995, 1.8407, 14.3500)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23116C #5A6C11
analogous
#112D6C #23116C #51116C
triadic
#23116C #6C2311 #116C23
tetradic
#23116C #6C112D #5A6C11 #116C51
square
#23116C #6C112D #5A6C11 #116C51
split-complementary
#23116C #6C5111 #2D6C11
monochromatic
#09041A #120937 #23116C #3419A1 #4522D6

Accessibility & contrast

On white

15.35
#23116C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#23116C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23116C
15.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23116C#FFFFFF#000000##FFFFFF
##23116C1.0015.351.3715.35
#FFFFFF15.351.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00286E
Deuteranopia (green-blind)
#00216A
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23116c;
/* rgb */ color: rgb(35, 17, 108);
/* oklch */ color: oklch(28.0% 0.144 280.8);
Tailwind
colors: {
  custom: {
    50: '#6a5397',
    500: '#23116c',
    950: '#000000',
  },
}
SCSS
$custom: #23116c;
$custom-light: #6a5397;
$custom-dark: #000000;
JSON
{
  "hex": "#23116c",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 108
  },
  "hsl": {
    "h": 251.868,
    "s": 72.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.28018,
    "c": 0.14389,
    "h": 280.8
  },
  "luminance": 0.01841
}

Semantic roles & 50–950 ramp

primary
#23116C
secondary
#8EA435
accent
#EF38CB
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #23116C

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

Preview Lab → · Contrast checker → · Palette generator →

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