#230B28#230B28

#230B28 is a very dark, moderate purple. Relative luminance 0.007; OKLCH L 20.4% C 0.063 H 320.4°. Best body text is #FFFFFF at 18.26:1 contrast (WCAG AA passes).

Color values

HEX#230B28
RGBrgb(35, 11, 40)
HSLhsl(290, 57%, 10%)
HSVhsv(290, 73%, 16%)
CMYKcmyk(12.5%, 72.5%, 0%, 84.3%)
CIE-LABlab(6.77, 18.13, -14.27)
CIE-LCHlch(6.77, 23.07, 321.78°)
OKLaboklab(20.35% 0.0485 -0.04)
OKLCHoklch(20.35% 0.063 320.4)
XYZxyz(1.1958, 0.7499, 2.0888)
Luminance0.0075 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B28 #10280B
analogous
#140B28 #230B28 #280B1F
triadic
#230B28 #28230B #0B2823
tetradic
#230B28 #28140B #10280B #0B1F28
square
#230B28 #28140B #10280B #0B1F28
split-complementary
#230B28 #1F280B #0B2814
monochromatic
#150718 #150718 #230B28 #4D1858 #772588

Accessibility & contrast

On white

18.26
#230B28 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230B28
18.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B28#FFFFFF#000000##FFFFFF
##230B281.0018.261.1518.26
#FFFFFF18.261.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061329
Deuteranopia (green-blind)
#0E1627
Tritanopia (blue-blind)
#230F17
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230b28;
/* rgb */ color: rgb(35, 11, 40);
/* oklch */ color: oklch(20.4% 0.063 320.4);
Tailwind
colors: {
  custom: {
    50: '#5f4b62',
    500: '#230b28',
    950: '#000000',
  },
}
SCSS
$custom: #230b28;
$custom-light: #5f4b62;
$custom-dark: #000000;
JSON
{
  "hex": "#230b28",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 40
  },
  "hsl": {
    "h": 289.655,
    "s": 56.863,
    "l": 10
  },
  "oklch": {
    "l": 0.20354,
    "c": 0.06285,
    "h": 320.4
  },
  "luminance": 0.0075
}

Semantic roles & 50–950 ramp

primary
#230B28
secondary
#35642B
accent
#E04862
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #230B28

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

Preview Lab → · Contrast checker → · Palette generator →

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