#230A3B#230A3B

#230A3B is a very dark, moderate violet. Relative luminance 0.009; OKLCH L 21.8% C 0.089 H 302.9°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#230A3B
RGBrgb(35, 10, 59)
HSLhsl(271, 71%, 14%)
HSVhsv(271, 83%, 23%)
CMYKcmyk(40.7%, 83.1%, 0%, 76.9%)
CIE-LABlab(8.04, 24.27, -26.26)
CIE-LCHlch(8.04, 35.76, 312.75°)
OKLaboklab(21.81% 0.0483 -0.0748)
OKLCHoklch(21.81% 0.089 302.9)
XYZxyz(1.5909, 0.8902, 4.2248)
Luminance0.0089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A3B #223B0A
analogous
#0A0A3B #230A3B #3B0A3A
triadic
#230A3B #3B230A #0A3B23
tetradic
#230A3B #3B0A0A #223B0A #0A3A3B
square
#230A3B #3B0A0A #223B0A #0A3A3B
split-complementary
#230A3B #3A3B0A #0A3B0A
monochromatic
#10041A #10041A #230A3B #42136F #611CA4

Accessibility & contrast

On white

17.83
#230A3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#230A3B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230A3B
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A3B#FFFFFF#000000##FFFFFF
##230A3B1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173C
Deuteranopia (green-blind)
#00173A
Tritanopia (blue-blind)
#1E1621
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #230a3b;
/* rgb */ color: rgb(35, 10, 59);
/* oklch */ color: oklch(21.8% 0.089 302.9);
Tailwind
colors: {
  custom: {
    50: '#614b71',
    500: '#230a3b',
    950: '#000000',
  },
}
SCSS
$custom: #230a3b;
$custom-light: #614b71;
$custom-dark: #000000;
JSON
{
  "hex": "#230a3b",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 59
  },
  "hsl": {
    "h": 270.612,
    "s": 71.014,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21807,
    "c": 0.08904,
    "h": 302.9
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#230A3B
secondary
#507828
accent
#EE3A92
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #230A3B

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

Preview Lab → · Contrast checker → · Palette generator →

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