#230B3B#230B3B

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

Color values

HEX#230B3B
RGBrgb(35, 11, 59)
HSLhsl(270, 69%, 14%)
HSVhsv(270, 81%, 23%)
CMYKcmyk(40.7%, 81.4%, 0%, 76.9%)
CIE-LABlab(8.24, 23.72, -25.94)
CIE-LCHlch(8.24, 35.15, 312.44°)
OKLaboklab(21.95% 0.0471 -0.0738)
OKLCHoklch(21.95% 0.088 302.5)
XYZxyz(1.6020, 0.9124, 4.2285)
Luminance0.0091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B3B #233B0B
analogous
#0B0B3B #230B3B #3B0B3B
triadic
#230B3B #3B230B #0B3B23
tetradic
#230B3B #3B0B0B #233B0B #0B3B3B
square
#230B3B #3B0B0B #233B0B #0B3B3B
split-complementary
#230B3B #3B3B0B #0B3B0B
monochromatic
#0F051A #0F051A #230B3B #42156F #601EA2

Accessibility & contrast

On white

17.76
#230B3B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B3B
17.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B3B#FFFFFF#000000##FFFFFF
##230B3B1.0017.761.1817.76
#FFFFFF17.761.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230b3b;
/* rgb */ color: rgb(35, 11, 59);
/* oklch */ color: oklch(21.9% 0.088 302.5);
Tailwind
colors: {
  custom: {
    50: '#614c71',
    500: '#230b3b',
    950: '#000000',
  },
}
SCSS
$custom: #230b3b;
$custom-light: #614c71;
$custom-dark: #000000;
JSON
{
  "hex": "#230b3b",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 59
  },
  "hsl": {
    "h": 270,
    "s": 68.571,
    "l": 13.725
  },
  "oklch": {
    "l": 0.21949,
    "c": 0.08759,
    "h": 302.5
  },
  "luminance": 0.00912
}

Semantic roles & 50–950 ramp

primary
#230B3B
secondary
#51782A
accent
#EB3C94
background
#F5F4F6
surface
#EAE7EC
border
#C6C3C7
text
#050108
muted
#79777B

Preview Lab

Preview with #230B3B

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

Preview Lab → · Contrast checker → · Palette generator →

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