#23124B#23124B

#23124B is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.099 H 291.0°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#23124B
RGBrgb(35, 18, 75)
HSLhsl(258, 61%, 18%)
HSVhsv(258, 76%, 29%)
CMYKcmyk(53.3%, 76%, 0%, 70.6%)
CIE-LABlab(11.26, 24.54, -32.31)
CIE-LCHlch(11.26, 40.57, 307.21°)
OKLaboklab(24.57% 0.0355 -0.0926)
OKLCHoklch(24.57% 0.099 291)
XYZxyz(2.1791, 1.2979, 6.7909)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#23124B #3A4B12
analogous
#121D4B #23124B #3F124B
triadic
#23124B #4B2312 #124B23
tetradic
#23124B #4B121D #3A4B12 #124B3F
square
#23124B #4B121D #3A4B12 #124B3F
split-complementary
#23124B #4B3F12 #1D4B12
monochromatic
#0C0619 #0C061A #23124B #3A1E7C #512AAE

Accessibility & contrast

On white

16.67
#23124B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#23124B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #23124B
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##23124B#FFFFFF#000000##FFFFFF
##23124B1.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F4D
Deuteranopia (green-blind)
#001D4A
Tritanopia (blue-blind)
#16202C
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #23124b;
/* rgb */ color: rgb(35, 18, 75);
/* oklch */ color: oklch(24.6% 0.099 291.0);
Tailwind
colors: {
  custom: {
    50: '#63517e',
    500: '#23124b',
    950: '#000000',
  },
}
SCSS
$custom: #23124b;
$custom-light: #63517e;
$custom-dark: #000000;
JSON
{
  "hex": "#23124b",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 75
  },
  "hsl": {
    "h": 257.895,
    "s": 61.29,
    "l": 18.235
  },
  "oklch": {
    "l": 0.24574,
    "c": 0.0992,
    "h": 291
  },
  "luminance": 0.01298
}

Semantic roles & 50–950 ramp

primary
#23124B
secondary
#6C8435
accent
#E443B4
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#05020A
muted
#7A787C

Preview Lab

Preview with #23124B

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

Preview Lab → · Contrast checker → · Palette generator →

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