#230E42#230E42

#230E42 is a very dark, moderate violet. Relative luminance 0.011; OKLCH L 23.1% C 0.093 H 297.0°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#230E42
RGBrgb(35, 14, 66)
HSLhsl(264, 65%, 16%)
HSVhsv(264, 79%, 26%)
CMYKcmyk(47%, 78.8%, 0%, 74.1%)
CIE-LABlab(9.52, 24.10, -28.85)
CIE-LCHlch(9.52, 37.59, 309.87°)
OKLaboklab(23.06% 0.042 -0.0824)
OKLCHoklch(23.06% 0.093 297)
XYZxyz(1.8333, 1.0647, 5.2621)
Luminance0.0106 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E42 #2D420E
analogous
#0E1342 #230E42 #3D0E42
triadic
#230E42 #42230E #0E4223
tetradic
#230E42 #420E13 #2D420E #0E423D
square
#230E42 #420E13 #2D420E #0E423D
split-complementary
#230E42 #423D0E #13420E
monochromatic
#0D0519 #0D0519 #230E42 #3E1974 #5923A7

Accessibility & contrast

On white

17.31
#230E42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#230E42 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E42
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E42#FFFFFF#000000##FFFFFF
##230E421.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B44
Deuteranopia (green-blind)
#001A41
Tritanopia (blue-blind)
#1B1B26
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #230e42;
/* rgb */ color: rgb(35, 14, 66);
/* oklch */ color: oklch(23.1% 0.093 297.0);
Tailwind
colors: {
  custom: {
    50: '#614e77',
    500: '#230e42',
    950: '#000000',
  },
}
SCSS
$custom: #230e42;
$custom-light: #614e77;
$custom-dark: #000000;
JSON
{
  "hex": "#230e42",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 66
  },
  "hsl": {
    "h": 264.231,
    "s": 65,
    "l": 15.686
  },
  "oklch": {
    "l": 0.23064,
    "c": 0.09252,
    "h": 297
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#230E42
secondary
#5D7D2F
accent
#E840A4
background
#F5F4F7
surface
#EAE7ED
border
#C6C3C8
text
#050108
muted
#79777B

Preview Lab

Preview with #230E42

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

Preview Lab → · Contrast checker → · Palette generator →

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