#23114F#23114F

#23114F is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.106 H 289.7°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#23114F
RGBrgb(35, 17, 79)
HSLhsl(257, 65%, 19%)
HSVhsv(257, 78%, 31%)
CMYKcmyk(55.7%, 78.5%, 0%, 69%)
CIE-LABlab(11.43, 26.47, -34.79)
CIE-LCHlch(11.43, 43.72, 307.26°)
OKLaboklab(24.82% 0.0357 -0.0999)
OKLCHoklch(24.82% 0.106 289.7)
XYZxyz(2.3045, 1.3226, 7.5295)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23114F #3D4F11
analogous
#111E4F #23114F #42114F
triadic
#23114F #4F2311 #114F23
tetradic
#23114F #4F111E #3D4F11 #114F42
square
#23114F #4F111E #3D4F11 #114F42
split-complementary
#23114F #4F4211 #1E4F11
monochromatic
#0B0519 #0D061D #23114F #391C81 #5027B4

Accessibility & contrast

On white

16.61
#23114F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #23114F
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23114F#FFFFFF#000000##FFFFFF
##23114F1.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#13212E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #23114f;
/* rgb */ color: rgb(35, 17, 79);
/* oklch */ color: oklch(24.8% 0.106 289.7);
Tailwind
colors: {
  custom: {
    50: '#635181',
    500: '#23114f',
    950: '#000000',
  },
}
SCSS
$custom: #23114f;
$custom-light: #635181;
$custom-dark: #000000;
JSON
{
  "hex": "#23114f",
  "rgb": {
    "r": 35,
    "g": 17,
    "b": 79
  },
  "hsl": {
    "h": 257.419,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.10609,
    "h": 289.7
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#23114F
secondary
#708833
accent
#E840B7
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23114F

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

Preview Lab → · Contrast checker → · Palette generator →

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