#230E4D#230E4D

#230E4D is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.2% C 0.107 H 291.5°. Best body text is #FFFFFF at 16.92:1 contrast (WCAG AA passes).

Color values

HEX#230E4D
RGBrgb(35, 14, 77)
HSLhsl(260, 69%, 18%)
HSVhsv(260, 82%, 30%)
CMYKcmyk(54.5%, 81.8%, 0%, 69.8%)
CIE-LABlab(10.61, 27.57, -34.76)
CIE-LCHlch(10.61, 44.37, 308.41°)
OKLaboklab(24.17% 0.0392 -0.0998)
OKLCHoklch(24.17% 0.107 291.5)
XYZxyz(2.1893, 1.2071, 7.1374)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E4D #384D0E
analogous
#0E184D #230E4D #420E4D
triadic
#230E4D #4D230E #0E4D23
tetradic
#230E4D #4D0E18 #384D0E #0E4D42
square
#230E4D #4D0E18 #384D0E #0E4D42
split-complementary
#230E4D #4D420E #184D0E
monochromatic
#0C051A #0C051A #230E4D #3B1781 #5221B5

Accessibility & contrast

On white

16.92
#230E4D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#230E4D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E4D
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E4D#FFFFFF#000000##FFFFFF
##230E4D1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4F
Deuteranopia (green-blind)
#001B4C
Tritanopia (blue-blind)
#151F2C
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230e4d;
/* rgb */ color: rgb(35, 14, 77);
/* oklch */ color: oklch(24.2% 0.107 291.5);
Tailwind
colors: {
  custom: {
    50: '#634f7f',
    500: '#230e4d',
    950: '#000000',
  },
}
SCSS
$custom: #230e4d;
$custom-light: #634f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#230e4d",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 77
  },
  "hsl": {
    "h": 260,
    "s": 69.231,
    "l": 17.843
  },
  "oklch": {
    "l": 0.24174,
    "c": 0.10722,
    "h": 291.5
  },
  "luminance": 0.01207
}

Semantic roles & 50–950 ramp

primary
#230E4D
secondary
#6A882F
accent
#EC3CB1
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#06020A
muted
#7A787C

Preview Lab

Preview with #230E4D

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

Preview Lab → · Contrast checker → · Palette generator →

#230E4D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva