#23124F#23124F

#23124F is a very dark, moderate violet. Relative luminance 0.014; OKLCH L 25.0% C 0.105 H 289.3°. Best body text is #FFFFFF at 16.53:1 contrast (WCAG AA passes).

Color values

HEX#23124F
RGBrgb(35, 18, 79)
HSLhsl(257, 63%, 19%)
HSVhsv(257, 77%, 31%)
CMYKcmyk(55.7%, 77.2%, 0%, 69%)
CIE-LABlab(11.65, 25.86, -34.44)
CIE-LCHlch(11.65, 43.07, 306.91°)
OKLaboklab(24.97% 0.0347 -0.0989)
OKLCHoklch(24.97% 0.105 289.3)
XYZxyz(2.3203, 1.3543, 7.5348)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23124F #3E4F12
analogous
#12204F #23124F #42124F
triadic
#23124F #4F2312 #124F23
tetradic
#23124F #4F1220 #3E4F12 #124F42
square
#23124F #4F1220 #3E4F12 #124F42
split-complementary
#23124F #4F4212 #204F12
monochromatic
#0B0619 #0D071D #23124F #391D81 #4F29B3

Accessibility & contrast

On white

16.53
#23124F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#23124F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23124F
16.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23124F#FFFFFF#000000##FFFFFF
##23124F1.0016.531.2716.53
#FFFFFF16.531.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002051
Deuteranopia (green-blind)
#001D4E
Tritanopia (blue-blind)
#13222F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #23124f;
/* rgb */ color: rgb(35, 18, 79);
/* oklch */ color: oklch(25.0% 0.105 289.3);
Tailwind
colors: {
  custom: {
    50: '#635181',
    500: '#23124f',
    950: '#000000',
  },
}
SCSS
$custom: #23124f;
$custom-light: #635181;
$custom-dark: #000000;
JSON
{
  "hex": "#23124f",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 79
  },
  "hsl": {
    "h": 256.721,
    "s": 62.887,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24973,
    "c": 0.10477,
    "h": 289.3
  },
  "luminance": 0.01354
}

Semantic roles & 50–950 ramp

primary
#23124F
secondary
#718835
accent
#E642B8
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #23124F

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

Preview Lab → · Contrast checker → · Palette generator →

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