#30042F#30042F

#30042F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.2% C 0.091 H 329.1°. Best body text is #FFFFFF at 17.74:1 contrast (WCAG AA passes).

Color values

HEX#30042F
RGBrgb(48, 4, 47)
HSLhsl(301, 85%, 10%)
HSVhsv(301, 92%, 19%)
CMYKcmyk(0%, 91.7%, 2.1%, 81.2%)
CIE-LABlab(8.31, 27.87, -16.93)
CIE-LCHlch(8.31, 32.61, 328.73°)
OKLaboklab(22.18% 0.0784 -0.0469)
OKLCHoklch(22.18% 0.091 329.1)
XYZxyz(1.7754, 0.9206, 2.7730)
Luminance0.0092 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30042F #043005
analogous
#1B0430 #30042F #300419
triadic
#30042F #2F3004 #042F30
tetradic
#30042F #301B04 #043005 #041930
square
#30042F #301B04 #043005 #041930
split-complementary
#30042F #193004 #04301B
monochromatic
#1C021C #1C021C #30042F #680966 #A10D9E

Accessibility & contrast

On white

17.74
#30042F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#30042F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30042F
17.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30042F#FFFFFF#000000##FFFFFF
##30042F1.0017.741.1817.74
#FFFFFF17.741.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#111A2E
Tritanopia (blue-blind)
#320A19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30042f;
/* rgb */ color: rgb(48, 4, 47);
/* oklch */ color: oklch(22.2% 0.091 329.1);
Tailwind
colors: {
  custom: {
    50: '#6b4967',
    500: '#30042f',
    950: '#000000',
  },
}
SCSS
$custom: #30042f;
$custom-light: #6b4967;
$custom-dark: #000000;
JSON
{
  "hex": "#30042f",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 47
  },
  "hsl": {
    "h": 301.364,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.22175,
    "c": 0.09136,
    "h": 329.1
  },
  "luminance": 0.0092
}

Semantic roles & 50–950 ramp

primary
#30042F
secondary
#1D721F
accent
#FB322D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30042F

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

Preview Lab → · Contrast checker → · Palette generator →

#30042F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva