#230222#230222

#230222 is a very dark, moderate purple. Relative luminance 0.005; OKLCH L 18.3% C 0.076 H 329.4°. Best body text is #FFFFFF at 19.04:1 contrast (WCAG AA passes).

Color values

HEX#230222
RGBrgb(35, 2, 34)
HSLhsl(302, 89%, 7%)
HSVhsv(302, 94%, 14%)
CMYKcmyk(0%, 94.3%, 2.9%, 86.3%)
CIE-LABlab(4.66, 20.63, -12.95)
CIE-LCHlch(4.66, 24.35, 327.88°)
OKLaboklab(18.3% 0.0656 -0.0388)
OKLCHoklch(18.3% 0.076 329.4)
XYZxyz(1.0036, 0.5163, 1.5599)
Luminance0.0052 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230222 #022303
analogous
#140223 #230222 #230212
triadic
#230222 #222302 #022223
tetradic
#230222 #231402 #022303 #021223
square
#230222 #231402 #022303 #021223
split-complementary
#230222 #122302 #022314
monochromatic
#1D021C #1D021C #230222 #5D055A #970992

Accessibility & contrast

On white

19.04
#230222 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #230222
19.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230222#FFFFFF#000000##FFFFFF
##2302221.0019.041.1019.04
#FFFFFF19.041.0021.001.00
#0000001.1021.001.0021.00
##FFFFFF19.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #230222;
/* rgb */ color: rgb(35, 2, 34);
/* oklch */ color: oklch(18.3% 0.076 329.4);
Tailwind
colors: {
  custom: {
    50: '#5f475d',
    500: '#230222',
    950: '#000000',
  },
}
SCSS
$custom: #230222;
$custom-light: #5f475d;
$custom-dark: #000000;
JSON
{
  "hex": "#230222",
  "rgb": {
    "r": 35,
    "g": 2,
    "b": 34
  },
  "hsl": {
    "h": 301.818,
    "s": 89.189,
    "l": 7.255
  },
  "oklch": {
    "l": 0.183,
    "c": 0.07622,
    "h": 329.4
  },
  "luminance": 0.00516
}

Semantic roles & 50–950 ramp

primary
#230222
secondary
#18691B
accent
#FF2F29
background
#F5F4F5
surface
#E9E6E9
border
#C5C2C5
text
#040004
muted
#797779

Preview Lab

Preview with #230222

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

Preview Lab → · Contrast checker → · Palette generator →

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