#230B2E#230B2E

#230B2E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.8% C 0.071 H 313.6°. Best body text is #FFFFFF at 18.12:1 contrast (WCAG AA passes).

Color values

HEX#230B2E
RGBrgb(35, 11, 46)
HSLhsl(281, 61%, 11%)
HSVhsv(281, 76%, 18%)
CMYKcmyk(23.9%, 76.1%, 0%, 82%)
CIE-LABlab(7.17, 19.88, -18.14)
CIE-LCHlch(7.17, 26.91, 317.61°)
OKLaboklab(20.81% 0.0486 -0.0511)
OKLCHoklch(20.81% 0.071 313.6)
XYZxyz(1.3059, 0.7940, 2.6687)
Luminance0.0079 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230B2E #162E0B
analogous
#110B2E #230B2E #2E0B27
triadic
#230B2E #2E230B #0B2E23
tetradic
#230B2E #2E110B #162E0B #0B272E
square
#230B2E #2E110B #162E0B #0B272E
split-complementary
#230B2E #272E0B #0B2E11
monochromatic
#130619 #130619 #230B2E #49175F #6E2391

Accessibility & contrast

On white

18.12
#230B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#230B2E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230B2E
18.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230B2E#FFFFFF#000000##FFFFFF
##230B2E1.0018.121.1618.12
#FFFFFF18.121.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#02152F
Deuteranopia (green-blind)
#09162D
Tritanopia (blue-blind)
#22121B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230b2e;
/* rgb */ color: rgb(35, 11, 46);
/* oklch */ color: oklch(20.8% 0.071 313.6);
Tailwind
colors: {
  custom: {
    50: '#5f4b67',
    500: '#230b2e',
    950: '#000000',
  },
}
SCSS
$custom: #230b2e;
$custom-light: #5f4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#230b2e",
  "rgb": {
    "r": 35,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 281.143,
    "s": 61.404,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20812,
    "c": 0.07057,
    "h": 313.6
  },
  "luminance": 0.00794
}

Semantic roles & 50–950 ramp

primary
#230B2E
secondary
#3F6A2A
accent
#E54376
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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