#230E2D#230E2D

#230E2D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.2% C 0.064 H 313.6°. Best body text is #FFFFFF at 17.92:1 contrast (WCAG AA passes).

Color values

HEX#230E2D
RGBrgb(35, 14, 45)
HSLhsl(281, 53%, 12%)
HSVhsv(281, 69%, 18%)
CMYKcmyk(22.2%, 68.9%, 0%, 82.4%)
CIE-LABlab(7.78, 17.81, -16.44)
CIE-LCHlch(7.78, 24.24, 317.29°)
OKLaboklab(21.25% 0.0438 -0.046)
OKLCHoklch(21.25% 0.064 313.6)
XYZxyz(1.3237, 0.8609, 2.5786)
Luminance0.0086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230E2D #182D0E
analogous
#140E2D #230E2D #2D0E28
triadic
#230E2D #2D230E #0E2D23
tetradic
#230E2D #2D140E #182D0E #0E282D
square
#230E2D #2D140E #182D0E #0E282D
split-complementary
#230E2D #282D0E #0E2D14
monochromatic
#120717 #120717 #230E2D #471D5C #6C2B8A

Accessibility & contrast

On white

17.92
#230E2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230E2D
17.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230E2D#FFFFFF#000000##FFFFFF
##230E2D1.0017.921.1717.92
#FFFFFF17.921.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#0D182C
Tritanopia (blue-blind)
#22131B
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #230e2d;
/* rgb */ color: rgb(35, 14, 45);
/* oklch */ color: oklch(21.2% 0.064 313.6);
Tailwind
colors: {
  custom: {
    50: '#5f4d66',
    500: '#230e2d',
    950: '#000000',
  },
}
SCSS
$custom: #230e2d;
$custom-light: #5f4d66;
$custom-dark: #000000;
JSON
{
  "hex": "#230e2d",
  "rgb": {
    "r": 35,
    "g": 14,
    "b": 45
  },
  "hsl": {
    "h": 280.645,
    "s": 52.542,
    "l": 11.569
  },
  "oklch": {
    "l": 0.21249,
    "c": 0.0635,
    "h": 313.6
  },
  "luminance": 0.00861
}

Semantic roles & 50–950 ramp

primary
#230E2D
secondary
#426730
accent
#DC4C7A
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040106
muted
#79777A

Preview Lab

Preview with #230E2D

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

Preview Lab → · Contrast checker → · Palette generator →

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