#230A2F#230A2F

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

Color values

HEX#230A2F
RGBrgb(35, 10, 47)
HSLhsl(281, 65%, 11%)
HSVhsv(281, 79%, 18%)
CMYKcmyk(25.5%, 78.7%, 0%, 81.6%)
CIE-LABlab(7.04, 20.70, -19.09)
CIE-LCHlch(7.04, 28.16, 317.31°)
OKLaboklab(20.74% 0.0501 -0.0539)
OKLCHoklch(20.74% 0.074 312.9)
XYZxyz(1.3147, 0.7797, 2.7700)
Luminance0.0078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230A2F #162F0A
analogous
#100A2F #230A2F #2F0A28
triadic
#230A2F #2F230A #0A2F23
tetradic
#230A2F #2F100A #162F0A #0A282F
square
#230A2F #2F100A #162F0A #0A282F
split-complementary
#230A2F #282F0A #0A2F10
monochromatic
#130519 #130519 #230A2F #491561 #6E1F94

Accessibility & contrast

On white

18.17
#230A2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230A2F
18.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230A2F#FFFFFF#000000##FFFFFF
##230A2F1.0018.171.1618.17
#FFFFFF18.171.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#08162E
Tritanopia (blue-blind)
#22111B
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #230a2f;
/* rgb */ color: rgb(35, 10, 47);
/* oklch */ color: oklch(20.7% 0.074 312.9);
Tailwind
colors: {
  custom: {
    50: '#5f4b68',
    500: '#230a2f',
    950: '#000000',
  },
}
SCSS
$custom: #230a2f;
$custom-light: #5f4b68;
$custom-dark: #000000;
JSON
{
  "hex": "#230a2f",
  "rgb": {
    "r": 35,
    "g": 10,
    "b": 47
  },
  "hsl": {
    "h": 280.541,
    "s": 64.912,
    "l": 11.176
  },
  "oklch": {
    "l": 0.20736,
    "c": 0.07363,
    "h": 312.9
  },
  "luminance": 0.0078
}

Semantic roles & 50–950 ramp

primary
#230A2F
secondary
#3F6C29
accent
#E84076
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#050106
muted
#79777A

Preview Lab

Preview with #230A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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