#230B2F#230B2F

#230B2F is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.9% C 0.072 H 312.6°. Best body text is #FFFFFF at 18.10:1 contrast (WCAG AA passes).

Color values

HEX#230B2F
RGBrgb(35, 11, 47)
HSLhsl(280, 62%, 11%)
HSVhsv(280, 77%, 18%)
CMYKcmyk(25.5%, 76.6%, 0%, 81.6%)
CIE-LABlab(7.24, 20.17, -18.77)
CIE-LCHlch(7.24, 27.56, 317.06°)
OKLaboklab(20.89% 0.0486 -0.0529)
OKLCHoklch(20.89% 0.072 312.6)
XYZxyz(1.3258, 0.8019, 2.7737)
Luminance0.0080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B2F #172F0B
analogous
#110B2F #230B2F #2F0B29
triadic
#230B2F #2F230B #0B2F23
tetradic
#230B2F #2F110B #172F0B #0B292F
square
#230B2F #2F110B #172F0B #0B292F
split-complementary
#230B2F #292F0B #0B2F11
monochromatic
#120619 #120619 #230B2F #481761 #6D2292

Accessibility & contrast

On white

18.10
#230B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B2F
18.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B2F#FFFFFF#000000##FFFFFF
##230B2F1.0018.101.1618.10
#FFFFFF18.101.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#08172E
Tritanopia (blue-blind)
#22121B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230b2f;
/* rgb */ color: rgb(35, 11, 47);
/* oklch */ color: oklch(20.9% 0.072 312.6);
Tailwind
colors: {
  custom: {
    50: '#5f4b68',
    500: '#230b2f',
    950: '#000000',
  },
}
SCSS
$custom: #230b2f;
$custom-light: #5f4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#230b2f",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 280,
    "s": 62.069,
    "l": 11.373
  },
  "oklch": {
    "l": 0.20893,
    "c": 0.07187,
    "h": 312.6
  },
  "luminance": 0.00802
}

Semantic roles & 50–950 ramp

primary
#230B2F
secondary
#406B2A
accent
#E54379
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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