#221230#221230

#221230 is a very dark, muted violet. Relative luminance 0.010; OKLCH L 22.1% C 0.059 H 306.8°. Best body text is #FFFFFF at 17.54:1 contrast (WCAG AA passes).

Color values

HEX#221230
RGBrgb(34, 18, 48)
HSLhsl(272, 45%, 13%)
HSVhsv(272, 63%, 19%)
CMYKcmyk(29.2%, 62.5%, 0%, 81.2%)
CIE-LABlab(8.88, 15.62, -16.92)
CIE-LCHlch(8.88, 23.03, 312.71°)
OKLaboklab(22.1% 0.0355 -0.0475)
OKLCHoklch(22.1% 0.059 306.8)
XYZxyz(1.4094, 0.9861, 2.9118)
Luminance0.0099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#221230 #203012
analogous
#131230 #221230 #30122F
triadic
#221230 #302212 #123022
tetradic
#221230 #301312 #203012 #122F30
square
#221230 #301312 #203012 #122F30
split-complementary
#221230 #2F3012 #123013
monochromatic
#100816 #100816 #221230 #42235D #613389

Accessibility & contrast

On white

17.54
#221230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#221230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #221230
17.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##221230#FFFFFF#000000##FFFFFF
##2212301.0017.541.2017.54
#FFFFFF17.541.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091931
Deuteranopia (green-blind)
#0E192F
Tritanopia (blue-blind)
#20171E
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #221230;
/* rgb */ color: rgb(34, 18, 48);
/* oklch */ color: oklch(22.1% 0.059 306.8);
Tailwind
colors: {
  custom: {
    50: '#5e5068',
    500: '#221230',
    950: '#000000',
  },
}
SCSS
$custom: #221230;
$custom-light: #5e5068;
$custom-dark: #000000;
JSON
{
  "hex": "#221230",
  "rgb": {
    "r": 34,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 272,
    "s": 45.455,
    "l": 12.941
  },
  "oklch": {
    "l": 0.22095,
    "c": 0.0593,
    "h": 306.8
  },
  "luminance": 0.00986
}

Semantic roles & 50–950 ramp

primary
#221230
secondary
#4D6836
accent
#D55390
background
#F5F4F6
surface
#E9E7EB
border
#C5C3C6
text
#040206
muted
#79787A

Preview Lab

Preview with #221230

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

Preview Lab → · Contrast checker → · Palette generator →

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