#230D2E#230D2E

#230D2E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.1% C 0.067 H 312.9°. Best body text is #FFFFFF at 17.97:1 contrast (WCAG AA passes).

Color values

HEX#230D2E
RGBrgb(35, 13, 46)
HSLhsl(280, 56%, 12%)
HSVhsv(280, 72%, 18%)
CMYKcmyk(23.9%, 71.7%, 0%, 82%)
CIE-LABlab(7.61, 18.72, -17.45)
CIE-LCHlch(7.61, 25.59, 317.02°)
OKLaboklab(21.15% 0.0455 -0.049)
OKLCHoklch(21.15% 0.067 312.9)
XYZxyz(1.3301, 0.8425, 2.6768)
Luminance0.0084 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230D2E #182E0D
analogous
#130D2E #230D2E #2E0D29
triadic
#230D2E #2E230D #0D2E23
tetradic
#230D2E #2E130D #182E0D #0D292E
square
#230D2E #2E130D #182E0D #0D292E
split-complementary
#230D2E #292E0D #0D2E13
monochromatic
#120718 #120718 #230D2E #471A5E #6C288D

Accessibility & contrast

On white

17.97
#230D2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230D2E
17.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230D2E#FFFFFF#000000##FFFFFF
##230D2E1.0017.971.1717.97
#FFFFFF17.971.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#04162F
Deuteranopia (green-blind)
#0B172D
Tritanopia (blue-blind)
#22131B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230d2e;
/* rgb */ color: rgb(35, 13, 46);
/* oklch */ color: oklch(21.1% 0.067 312.9);
Tailwind
colors: {
  custom: {
    50: '#5f4d67',
    500: '#230d2e',
    950: '#000000',
  },
}
SCSS
$custom: #230d2e;
$custom-light: #5f4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#230d2e",
  "rgb": {
    "r": 35,
    "g": 13,
    "b": 46
  },
  "hsl": {
    "h": 280,
    "s": 55.932,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21148,
    "c": 0.06683,
    "h": 312.9
  },
  "luminance": 0.00842
}

Semantic roles & 50–950 ramp

primary
#230D2E
secondary
#42692E
accent
#DF497B
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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