#23116E#23116E

#23116E is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.3% C 0.146 H 280.3°. Best body text is #FFFFFF at 15.25:1 contrast (WCAG AA passes).

Color values

HEX#23116E
RGBrgb(35, 17, 110)
HSLhsl(252, 73%, 25%)
HSVhsv(252, 85%, 43%)
CMYKcmyk(68.2%, 84.5%, 0%, 56.9%)
CIE-LABlab(14.86, 36.53, -49.89)
CIE-LCHlch(14.86, 61.83, 306.21°)
OKLaboklab(28.25% 0.0263 -0.144)
OKLCHoklch(28.25% 0.146 280.3)
XYZxyz(3.7072, 1.8837, 14.9171)
Luminance0.0188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23116E #5C6E11
analogous
#112E6E #23116E #52116E
triadic
#23116E #6E2311 #116E23
tetradic
#23116E #6E112E #5C6E11 #116E52
square
#23116E #6E112E #5C6E11 #116E52
split-complementary
#23116E #6E5211 #2E6E11
monochromatic
#08041B #120939 #23116E #3419A3 #4521D8

Accessibility & contrast

On white

15.25
#23116E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#23116E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23116E
15.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23116E#FFFFFF#000000##FFFFFF
##23116E1.0015.251.3815.25
#FFFFFF15.251.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002971
Deuteranopia (green-blind)
#00226C
Tritanopia (blue-blind)
#002E40
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #23116e;
/* rgb */ color: rgb(35, 17, 110);
/* oklch */ color: oklch(28.3% 0.146 280.3);
Tailwind
colors: {
  custom: {
    50: '#6a5399',
    500: '#23116e',
    950: '#000000',
  },
}
SCSS
$custom: #23116e;
$custom-light: #6a5399;
$custom-dark: #000000;
JSON
{
  "hex": "#23116e",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 110
  },
  "hsl": {
    "h": 251.613,
    "s": 73.228,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28252,
    "c": 0.14639,
    "h": 280.3
  },
  "luminance": 0.01884
}

Semantic roles & 50–950 ramp

primary
#23116E
secondary
#90A535
accent
#F038CC
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #23116E

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

Preview Lab → · Contrast checker → · Palette generator →

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