#30162E#30162E

#30162E is a very dark, muted purple. Relative luminance 0.014; OKLCH L 24.8% C 0.057 H 330.0°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#30162E
RGBrgb(48, 22, 46)
HSLhsl(305, 37%, 14%)
HSVhsv(305, 54%, 19%)
CMYKcmyk(0%, 54.2%, 4.2%, 81.2%)
CIE-LABlab(11.96, 17.52, -10.47)
CIE-LCHlch(11.96, 20.41, 329.13°)
OKLaboklab(24.81% 0.0494 -0.0285)
OKLCHoklch(24.81% 0.057 330)
XYZxyz(1.9990, 1.3996, 2.7491)
Luminance0.0140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30162E #163018
analogous
#251630 #30162E #301621
triadic
#30162E #2E3016 #162E30
tetradic
#30162E #302516 #163018 #162130
square
#30162E #302516 #163018 #162130
split-complementary
#30162E #213016 #163025
monochromatic
#150A14 #150A14 #30162E #5A2956 #843C7E

Accessibility & contrast

On white

16.41
#30162E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#30162E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30162E
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30162E#FFFFFF#000000##FFFFFF
##30162E1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#151D2F
Deuteranopia (green-blind)
#1C212D
Tritanopia (blue-blind)
#32181F
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30162e;
/* rgb */ color: rgb(48, 22, 46);
/* oklch */ color: oklch(24.8% 0.057 330.0);
Tailwind
colors: {
  custom: {
    50: '#695466',
    500: '#30162e',
    950: '#000000',
  },
}
SCSS
$custom: #30162e;
$custom-light: #695466;
$custom-dark: #000000;
JSON
{
  "hex": "#30162e",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 46
  },
  "hsl": {
    "h": 304.615,
    "s": 37.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24813,
    "c": 0.05705,
    "h": 330
  },
  "luminance": 0.01399
}

Semantic roles & 50–950 ramp

primary
#30162E
secondary
#3C663F
accent
#CD635B
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #30162E

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

Preview Lab → · Contrast checker → · Palette generator →

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