#230A31#230A31

#230A31 is a very dark, moderate violet. Relative luminance 0.008; OKLCH L 20.9% C 0.076 H 311.0°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#230A31
RGBrgb(35, 10, 49)
HSLhsl(278, 66%, 12%)
HSVhsv(278, 80%, 19%)
CMYKcmyk(28.6%, 79.6%, 0%, 80.8%)
CIE-LABlab(7.19, 21.30, -20.34)
CIE-LCHlch(7.19, 29.45, 316.33°)
OKLaboklab(20.9% 0.05 -0.0575)
OKLCHoklch(20.9% 0.076 311)
XYZxyz(1.3560, 0.7962, 2.9874)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A31 #18310A
analogous
#100A31 #230A31 #310A2C
triadic
#230A31 #31230A #0A3123
tetradic
#230A31 #31100A #18310A #0A2C31
square
#230A31 #31100A #18310A #0A2C31
split-complementary
#230A31 #2C310A #0A3110
monochromatic
#120519 #120519 #230A31 #471464 #6C1F97

Accessibility & contrast

On white

18.12
#230A31 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230A31 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A31
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A31#FFFFFF#000000##FFFFFF
##230A311.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001532
Deuteranopia (green-blind)
#061630
Tritanopia (blue-blind)
#21121C
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230a31;
/* rgb */ color: rgb(35, 10, 49);
/* oklch */ color: oklch(20.9% 0.076 311.0);
Tailwind
colors: {
  custom: {
    50: '#604b69',
    500: '#230a31',
    950: '#000000',
  },
}
SCSS
$custom: #230a31;
$custom-light: #604b69;
$custom-dark: #000000;
JSON
{
  "hex": "#230a31",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 49
  },
  "hsl": {
    "h": 278.462,
    "s": 66.102,
    "l": 11.569
  },
  "oklch": {
    "l": 0.20904,
    "c": 0.0762,
    "h": 311
  },
  "luminance": 0.00796
}

Semantic roles & 50–950 ramp

primary
#230A31
secondary
#426E29
accent
#E93F7C
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230A31

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

Preview Lab → · Contrast checker → · Palette generator →

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