#30222E#30222E

#30222E is a dark, muted purple. Relative luminance 0.020; OKLCH L 27.4% C 0.030 H 331.3°. Best body text is #FFFFFF at 15.06:1 contrast (WCAG AA passes).

Color values

HEX#30222E
RGBrgb(48, 34, 46)
HSLhsl(309, 17%, 16%)
HSVhsv(309, 29%, 19%)
CMYKcmyk(0%, 29.2%, 4.2%, 81.2%)
CIE-LABlab(15.33, 9.25, -5.33)
CIE-LCHlch(15.33, 10.68, 330.07°)
OKLaboklab(27.37% 0.0261 -0.0143)
OKLCHoklch(27.37% 0.03 331.3)
XYZxyz(2.2841, 1.9698, 2.8441)
Luminance0.0197 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30222E #223024
analogous
#2B2230 #30222E #302227
triadic
#30222E #2E3022 #222E30
tetradic
#30222E #302B22 #223024 #222730
square
#30222E #302B22 #223024 #222730
split-complementary
#30222E #273022 #22302B
monochromatic
#120D11 #120D11 #30222E #543B50 #785573

Accessibility & contrast

On white

15.06
#30222E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#30222E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30222E
15.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30222E#FFFFFF#000000##FFFFFF
##30222E1.0015.061.3915.06
#FFFFFF15.061.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252E
Deuteranopia (green-blind)
#25272E
Tritanopia (blue-blind)
#312326
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #30222e;
/* rgb */ color: rgb(48, 34, 46);
/* oklch */ color: oklch(27.4% 0.030 331.3);
Tailwind
colors: {
  custom: {
    50: '#685d66',
    500: '#30222e',
    950: '#000000',
  },
}
SCSS
$custom: #30222e;
$custom-light: #685d66;
$custom-dark: #000000;
JSON
{
  "hex": "#30222e",
  "rgb": {
    "r": 48,
    "g": 34,
    "b": 46
  },
  "hsl": {
    "h": 308.571,
    "s": 17.073,
    "l": 16.078
  },
  "oklch": {
    "l": 0.27367,
    "c": 0.0297,
    "h": 331.3
  },
  "luminance": 0.0197
}

Semantic roles & 50–950 ramp

primary
#30222E
secondary
#4D614F
accent
#BA796E
background
#F6F5F6
surface
#EBE9EB
border
#C6C5C6
text
#060406
muted
#7A797A

Preview Lab

Preview with #30222E

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

Preview Lab → · Contrast checker → · Palette generator →

#30222E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva