#230224#230224

#230224 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.5% C 0.078 H 327.0°. Best body text is #FFFFFF at 18.99:1 contrast (WCAG AA passes).

Color values

HEX#230224
RGBrgb(35, 2, 36)
HSLhsl(298, 89%, 7%)
HSVhsv(298, 94%, 14%)
CMYKcmyk(2.8%, 94.4%, 0%, 85.9%)
CIE-LABlab(4.77, 21.23, -14.33)
CIE-LCHlch(4.77, 25.62, 325.98°)
OKLaboklab(18.46% 0.0655 -0.0426)
OKLCHoklch(18.46% 0.078 327)
XYZxyz(1.0333, 0.5282, 1.7163)
Luminance0.0053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230224 #032402
analogous
#120224 #230224 #240214
triadic
#230224 #242302 #022423
tetradic
#230224 #241202 #032402 #021424
square
#230224 #241202 #032402 #021424
split-complementary
#230224 #142402 #022412
monochromatic
#1C021D #1C021D #230224 #5B055E #940898

Accessibility & contrast

On white

18.99
#230224 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.11
#230224 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230224
18.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230224#FFFFFF#000000##FFFFFF
##2302241.0018.991.1118.99
#FFFFFF18.991.0021.001.00
#0000001.1121.001.0021.00
##FFFFFF18.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D25
Deuteranopia (green-blind)
#091223
Tritanopia (blue-blind)
#240612
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #230224;
/* rgb */ color: rgb(35, 2, 36);
/* oklch */ color: oklch(18.5% 0.078 327.0);
Tailwind
colors: {
  custom: {
    50: '#5f475e',
    500: '#230224',
    950: '#000000',
  },
}
SCSS
$custom: #230224;
$custom-light: #5f475e;
$custom-dark: #000000;
JSON
{
  "hex": "#230224",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 36
  },
  "hsl": {
    "h": 298.235,
    "s": 89.474,
    "l": 7.451
  },
  "oklch": {
    "l": 0.18458,
    "c": 0.07812,
    "h": 327
  },
  "luminance": 0.00528
}

Semantic roles & 50–950 ramp

primary
#230224
secondary
#1B6A18
accent
#FF292F
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #230224

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

Preview Lab → · Contrast checker → · Palette generator →

#230224 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva