#230B26#230B26

#230B26 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.2% C 0.060 H 323.1°. Best body text is #FFFFFF at 18.30:1 contrast (WCAG AA passes).

Color values

HEX#230B26
RGBrgb(35, 11, 38)
HSLhsl(293, 55%, 10%)
HSVhsv(293, 71%, 15%)
CMYKcmyk(7.9%, 71.1%, 0%, 85.1%)
CIE-LABlab(6.65, 17.55, -12.95)
CIE-LCHlch(6.65, 21.81, 323.59°)
OKLaboklab(20.21% 0.0482 -0.0362)
OKLCHoklch(20.21% 0.06 323.1)
XYZxyz(1.1626, 0.7367, 1.9143)
Luminance0.0074 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B26 #0E260B
analogous
#160B26 #230B26 #260B1C
triadic
#230B26 #26230B #0B2623
tetradic
#230B26 #26160B #0E260B #0B1C26
square
#230B26 #26160B #0E260B #0B1C26
split-complementary
#230B26 #1C260B #0B2616
monochromatic
#160718 #160718 #230B26 #4F1955 #7A2685

Accessibility & contrast

On white

18.30
#230B26 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.15
#230B26 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B26
18.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B26#FFFFFF#000000##FFFFFF
##230B261.0018.301.1518.30
#FFFFFF18.301.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071327
Deuteranopia (green-blind)
#0F1625
Tritanopia (blue-blind)
#240F16
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230b26;
/* rgb */ color: rgb(35, 11, 38);
/* oklch */ color: oklch(20.2% 0.060 323.1);
Tailwind
colors: {
  custom: {
    50: '#5f4b60',
    500: '#230b26',
    950: '#000000',
  },
}
SCSS
$custom: #230b26;
$custom-light: #5f4b60;
$custom-dark: #000000;
JSON
{
  "hex": "#230b26",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 38
  },
  "hsl": {
    "h": 293.333,
    "s": 55.102,
    "l": 9.608
  },
  "oklch": {
    "l": 0.20212,
    "c": 0.06034,
    "h": 323.1
  },
  "luminance": 0.00737
}

Semantic roles & 50–950 ramp

primary
#230B26
secondary
#31622B
accent
#DE495A
background
#F5F4F5
surface
#E9E7E9
border
#C5C3C5
text
#040105
muted
#797779

Preview Lab

Preview with #230B26

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

Preview Lab → · Contrast checker → · Palette generator →

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