#23114E#23114E

#23114E is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.7% C 0.105 H 290.1°. Best body text is #FFFFFF at 16.65:1 contrast (WCAG AA passes).

Color values

HEX#23114E
RGBrgb(35, 17, 78)
HSLhsl(258, 64%, 19%)
HSVhsv(258, 78%, 31%)
CMYKcmyk(55.1%, 78.2%, 0%, 69.4%)
CIE-LABlab(11.33, 26.14, -34.27)
CIE-LCHlch(11.33, 43.10, 307.34°)
OKLaboklab(24.72% 0.0359 -0.0984)
OKLCHoklch(24.72% 0.105 290.1)
XYZxyz(2.2683, 1.3082, 7.3392)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23114E #3C4E11
analogous
#111D4E #23114E #41114E
triadic
#23114E #4E2311 #114E23
tetradic
#23114E #4E111D #3C4E11 #114E41
square
#23114E #4E111D #3C4E11 #114E41
split-complementary
#23114E #4E4111 #1D4E11
monochromatic
#0B0519 #0C061C #23114E #3A1C80 #5027B2

Accessibility & contrast

On white

16.65
#23114E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#23114E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23114E
16.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23114E#FFFFFF#000000##FFFFFF
##23114E1.0016.651.2616.65
#FFFFFF16.651.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F50
Deuteranopia (green-blind)
#001D4D
Tritanopia (blue-blind)
#14212E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #23114e;
/* rgb */ color: rgb(35, 17, 78);
/* oklch */ color: oklch(24.7% 0.105 290.1);
Tailwind
colors: {
  custom: {
    50: '#635180',
    500: '#23114e',
    950: '#000000',
  },
}
SCSS
$custom: #23114e;
$custom-light: #635180;
$custom-dark: #000000;
JSON
{
  "hex": "#23114e",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 78
  },
  "hsl": {
    "h": 257.705,
    "s": 64.211,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24716,
    "c": 0.10473,
    "h": 290.1
  },
  "luminance": 0.01308
}

Semantic roles & 50–950 ramp

primary
#23114E
secondary
#6F8733
accent
#E741B6
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23114E

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

Preview Lab → · Contrast checker → · Palette generator →

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