#230221#230221

#230221 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.2% C 0.075 H 330.7°. Best body text is #FFFFFF at 19.05:1 contrast (WCAG AA passes).

Color values

HEX#230221
RGBrgb(35, 2, 33)
HSLhsl(304, 89%, 7%)
HSVhsv(304, 94%, 14%)
CMYKcmyk(0%, 94.3%, 5.7%, 86.3%)
CIE-LABlab(4.61, 20.33, -12.25)
CIE-LCHlch(4.61, 23.73, 328.93°)
OKLaboklab(18.22% 0.0656 -0.0369)
OKLCHoklch(18.22% 0.075 330.7)
XYZxyz(0.9894, 0.5106, 1.4850)
Luminance0.0051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230221 #022304
analogous
#150223 #230221 #230211
triadic
#230221 #212302 #022123
tetradic
#230221 #231502 #022304 #021123
square
#230221 #231502 #022304 #021123
split-complementary
#230221 #112302 #022315
monochromatic
#1D021B #1D021B #230221 #5D0558 #97098E

Accessibility & contrast

On white

19.05
#230221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.10
#230221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230221
19.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230221#FFFFFF#000000##FFFFFF
##2302211.0019.051.1019.05
#FFFFFF19.051.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#000D22
Deuteranopia (green-blind)
#0B1220
Tritanopia (blue-blind)
#250510
Achromatopsia (no color)
#101010

Design tokens & code

CSS
--color: #230221;
/* rgb */ color: rgb(35, 2, 33);
/* oklch */ color: oklch(18.2% 0.075 330.7);
Tailwind
colors: {
  custom: {
    50: '#5e475c',
    500: '#230221',
    950: '#000000',
  },
}
SCSS
$custom: #230221;
$custom-light: #5e475c;
$custom-dark: #000000;
JSON
{
  "hex": "#230221",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 33
  },
  "hsl": {
    "h": 303.636,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.18224,
    "c": 0.07529,
    "h": 330.7
  },
  "luminance": 0.00511
}

Semantic roles & 50–950 ramp

primary
#230221
secondary
#18691D
accent
#FF3629
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #230221

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

Preview Lab → · Contrast checker → · Palette generator →

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