#230E2A#230E2A

#230E2A is a very dark, muted purple. Relative luminance 0.008; OKLCH L 21.0% C 0.059 H 317.1°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#230E2A
RGBrgb(35, 14, 42)
HSLhsl(285, 50%, 11%)
HSVhsv(285, 67%, 16%)
CMYKcmyk(16.7%, 66.7%, 0%, 83.5%)
CIE-LABlab(7.58, 16.97, -14.52)
CIE-LCHlch(7.58, 22.33, 319.45°)
OKLaboklab(21.03% 0.0435 -0.0405)
OKLCHoklch(21.03% 0.059 317.1)
XYZxyz(1.2680, 0.8386, 2.2851)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E2A #152A0E
analogous
#150E2A #230E2A #2A0E23
triadic
#230E2A #2A230E #0E2A23
tetradic
#230E2A #2A150E #152A0E #0E232A
square
#230E2A #2A150E #152A0E #0E232A
split-complementary
#230E2A #232A0E #0E2A15
monochromatic
#130817 #130817 #230E2A #491D58 #6F2D86

Accessibility & contrast

On white

17.98
#230E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#230E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230E2A
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E2A#FFFFFF#000000##FFFFFF
##230E2A1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08152B
Deuteranopia (green-blind)
#0F1729
Tritanopia (blue-blind)
#23121A
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230e2a;
/* rgb */ color: rgb(35, 14, 42);
/* oklch */ color: oklch(21.0% 0.059 317.1);
Tailwind
colors: {
  custom: {
    50: '#5f4d63',
    500: '#230e2a',
    950: '#000000',
  },
}
SCSS
$custom: #230e2a;
$custom-light: #5f4d63;
$custom-dark: #000000;
JSON
{
  "hex": "#230e2a",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 285,
    "s": 50,
    "l": 10.98
  },
  "oklch": {
    "l": 0.2103,
    "c": 0.05939,
    "h": 317.1
  },
  "luminance": 0.00839
}

Semantic roles & 50–950 ramp

primary
#230E2A
secondary
#3D6430
accent
#DA4E71
background
#F5F4F5
surface
#E9E7EA
border
#C5C3C6
text
#040105
muted
#797779

Preview Lab

Preview with #230E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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