#230A2E#230A2E

#230A2E is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 20.7% C 0.072 H 313.9°. Best body text is #FFFFFF at 18.19:1 contrast (WCAG AA passes).

Color values

HEX#230A2E
RGBrgb(35, 10, 46)
HSLhsl(282, 64%, 11%)
HSVhsv(282, 78%, 18%)
CMYKcmyk(23.9%, 78.3%, 0%, 82%)
CIE-LABlab(6.97, 20.40, -18.46)
CIE-LCHlch(6.97, 27.52, 317.85°)
OKLaboklab(20.65% 0.0502 -0.0521)
OKLCHoklch(20.65% 0.072 313.9)
XYZxyz(1.2947, 0.7717, 2.6650)
Luminance0.0077 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A2E #152E0A
analogous
#110A2E #230A2E #2E0A27
triadic
#230A2E #2E230A #0A2E23
tetradic
#230A2E #2E110A #152E0A #0A272E
square
#230A2E #2E110A #152E0A #0A272E
split-complementary
#230A2E #272E0A #0A2E11
monochromatic
#130519 #130519 #230A2E #491560 #6F2093

Accessibility & contrast

On white

18.19
#230A2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230A2E
18.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A2E#FFFFFF#000000##FFFFFF
##230A2E1.0018.191.1518.19
#FFFFFF18.191.0021.001.00
#0000001.1521.001.0021.00
##FFFFFF18.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#01142F
Deuteranopia (green-blind)
#08162D
Tritanopia (blue-blind)
#22111A
Achromatopsia (no color)
#151515

Design tokens & code

CSS
--color: #230a2e;
/* rgb */ color: rgb(35, 10, 46);
/* oklch */ color: oklch(20.7% 0.072 313.9);
Tailwind
colors: {
  custom: {
    50: '#5f4b67',
    500: '#230a2e',
    950: '#000000',
  },
}
SCSS
$custom: #230a2e;
$custom-light: #5f4b67;
$custom-dark: #000000;
JSON
{
  "hex": "#230a2e",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 46
  },
  "hsl": {
    "h": 281.667,
    "s": 64.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.20654,
    "c": 0.07235,
    "h": 313.9
  },
  "luminance": 0.00772
}

Semantic roles & 50–950 ramp

primary
#230A2E
secondary
#3D6B29
accent
#E74173
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230A2E

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

Preview Lab → · Contrast checker → · Palette generator →

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