#230B3A#230B3A

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

Color values

HEX#230B3A
RGBrgb(35, 11, 58)
HSLhsl(271, 68%, 14%)
HSVhsv(271, 81%, 23%)
CMYKcmyk(39.7%, 81%, 0%, 77.3%)
CIE-LABlab(8.15, 23.42, -25.36)
CIE-LCHlch(8.15, 34.52, 312.72°)
OKLaboklab(21.86% 0.0473 -0.0722)
OKLCHoklch(21.86% 0.086 303.2)
XYZxyz(1.5764, 0.9022, 4.0933)
Luminance0.0090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B3A #223A0B
analogous
#0B0B3A #230B3A #3A0B39
triadic
#230B3A #3A230B #0B3A23
tetradic
#230B3A #3A0B0B #223A0B #0B393A
square
#230B3A #3A0B0B #223A0B #0B393A
split-complementary
#230B3A #393A0B #0B3A0B
monochromatic
#10051A #10051A #230B3A #42156D #611FA1

Accessibility & contrast

On white

17.79
#230B3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B3A
17.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B3A#FFFFFF#000000##FFFFFF
##230B3A1.0017.791.1817.79
#FFFFFF17.791.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230b3a;
/* rgb */ color: rgb(35, 11, 58);
/* oklch */ color: oklch(21.9% 0.086 303.2);
Tailwind
colors: {
  custom: {
    50: '#614c70',
    500: '#230b3a',
    950: '#000000',
  },
}
SCSS
$custom: #230b3a;
$custom-light: #614c70;
$custom-dark: #000000;
JSON
{
  "hex": "#230b3a",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 58
  },
  "hsl": {
    "h": 270.638,
    "s": 68.116,
    "l": 13.529
  },
  "oklch": {
    "l": 0.21855,
    "c": 0.08629,
    "h": 303.2
  },
  "luminance": 0.00902
}

Semantic roles & 50–950 ramp

primary
#230B3A
secondary
#50772A
accent
#EB3D92
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050107
muted
#79777A

Preview Lab

Preview with #230B3A

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

Preview Lab → · Contrast checker → · Palette generator →

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