#23116D#23116D

#23116D is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.1% C 0.145 H 280.6°. Best body text is #FFFFFF at 15.30:1 contrast (WCAG AA passes).

Color values

HEX#23116D
RGBrgb(35, 17, 109)
HSLhsl(252, 73%, 25%)
HSVhsv(252, 84%, 43%)
CMYKcmyk(67.9%, 84.4%, 0%, 57.3%)
CIE-LABlab(14.75, 36.21, -49.43)
CIE-LCHlch(14.75, 61.27, 306.22°)
OKLaboklab(28.14% 0.0266 -0.1427)
OKLCHoklch(28.14% 0.145 280.6)
XYZxyz(3.6530, 1.8621, 14.6319)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23116D #5B6D11
analogous
#112D6D #23116D #51116D
triadic
#23116D #6D2311 #116D23
tetradic
#23116D #6D112D #5B6D11 #116D51
square
#23116D #6D112D #5B6D11 #116D51
split-complementary
#23116D #6D5111 #2D6D11
monochromatic
#08041A #120938 #23116D #3419A2 #4522D7

Accessibility & contrast

On white

15.30
#23116D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23116D
15.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23116D#FFFFFF#000000##FFFFFF
##23116D1.0015.301.3715.30
#FFFFFF15.301.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002870
Deuteranopia (green-blind)
#00226B
Tritanopia (blue-blind)
#002D3F
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23116d;
/* rgb */ color: rgb(35, 17, 109);
/* oklch */ color: oklch(28.1% 0.145 280.6);
Tailwind
colors: {
  custom: {
    50: '#6a5398',
    500: '#23116d',
    950: '#000000',
  },
}
SCSS
$custom: #23116d;
$custom-light: #6a5398;
$custom-dark: #000000;
JSON
{
  "hex": "#23116d",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 109
  },
  "hsl": {
    "h": 251.739,
    "s": 73.016,
    "l": 24.706
  },
  "oklch": {
    "l": 0.28135,
    "c": 0.14514,
    "h": 280.6
  },
  "luminance": 0.01862
}

Semantic roles & 50–950 ramp

primary
#23116D
secondary
#8FA535
accent
#F038CC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #23116D

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

Preview Lab → · Contrast checker → · Palette generator →

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