#230A39#230A39

#230A39 is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.6% C 0.086 H 304.3°. Best body text is #FFFFFF at 17.89:1 contrast (WCAG AA passes).

Color values

HEX#230A39
RGBrgb(35, 10, 57)
HSLhsl(272, 70%, 13%)
HSVhsv(272, 82%, 22%)
CMYKcmyk(38.6%, 82.5%, 0%, 77.6%)
CIE-LABlab(7.86, 23.69, -25.11)
CIE-LCHlch(7.86, 34.52, 313.33°)
OKLaboklab(21.62% 0.0488 -0.0714)
OKLCHoklch(21.62% 0.086 304.3)
XYZxyz(1.5400, 0.8698, 3.9569)
Luminance0.0087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A39 #20390A
analogous
#0B0A39 #230A39 #390A37
triadic
#230A39 #39230A #0A3923
tetradic
#230A39 #390B0A #20390A #0A3739
square
#230A39 #390B0A #20390A #0A3739
split-complementary
#230A39 #37390A #0A390B
monochromatic
#10051A #10051A #230A39 #43136D #631CA1

Accessibility & contrast

On white

17.89
#230A39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230A39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A39
17.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A39#FFFFFF#000000##FFFFFF
##230A391.0017.891.1717.89
#FFFFFF17.891.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#001738
Tritanopia (blue-blind)
#1F1520
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230a39;
/* rgb */ color: rgb(35, 10, 57);
/* oklch */ color: oklch(21.6% 0.086 304.3);
Tailwind
colors: {
  custom: {
    50: '#614b70',
    500: '#230a39',
    950: '#000000',
  },
}
SCSS
$custom: #230a39;
$custom-light: #614b70;
$custom-dark: #000000;
JSON
{
  "hex": "#230a39",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 57
  },
  "hsl": {
    "h": 271.915,
    "s": 70.149,
    "l": 13.137
  },
  "oklch": {
    "l": 0.21618,
    "c": 0.08648,
    "h": 304.3
  },
  "luminance": 0.0087
}

Semantic roles & 50–950 ramp

primary
#230A39
secondary
#4D7628
accent
#ED3B8E
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230A39

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

Preview Lab → · Contrast checker → · Palette generator →

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