#23116F#23116F

#23116F is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.4% C 0.148 H 280.1°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#23116F
RGBrgb(35, 17, 111)
HSLhsl(251, 73%, 25%)
HSVhsv(251, 85%, 44%)
CMYKcmyk(68.5%, 84.7%, 0%, 56.5%)
CIE-LABlab(14.98, 36.85, -50.34)
CIE-LCHlch(14.98, 62.39, 306.20°)
OKLaboklab(28.37% 0.026 -0.1453)
OKLCHoklch(28.37% 0.148 280.1)
XYZxyz(3.7619, 1.9056, 15.2054)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23116F #5D6F11
analogous
#112E6F #23116F #52116F
triadic
#23116F #6F2311 #116F23
tetradic
#23116F #6F112E #5D6F11 #116F52
square
#23116F #6F112E #5D6F11 #116F52
split-complementary
#23116F #6F5211 #2E6F11
monochromatic
#08041B #12093A #23116F #3419A4 #4421D9

Accessibility & contrast

On white

15.20
#23116F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23116F
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23116F#FFFFFF#000000##FFFFFF
##23116F1.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002972
Deuteranopia (green-blind)
#00226D
Tritanopia (blue-blind)
#002E41
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #23116f;
/* rgb */ color: rgb(35, 17, 111);
/* oklch */ color: oklch(28.4% 0.148 280.1);
Tailwind
colors: {
  custom: {
    50: '#6a5399',
    500: '#23116f',
    950: '#000000',
  },
}
SCSS
$custom: #23116f;
$custom-light: #6a5399;
$custom-dark: #000000;
JSON
{
  "hex": "#23116f",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 111
  },
  "hsl": {
    "h": 251.489,
    "s": 73.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.2837,
    "c": 0.14763,
    "h": 280.1
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#23116F
secondary
#91A635
accent
#F038CD
background
#F6F4F9
surface
#ECE7F2
border
#C7C3CC
text
#07020E
muted
#7A787E

Preview Lab

Preview with #23116F

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

Preview Lab → · Contrast checker → · Palette generator →

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