#30042B#30042B

#30042B is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.9% C 0.088 H 333.3°. Best body text is #FFFFFF at 17.83:1 contrast (WCAG AA passes).

Color values

HEX#30042B
RGBrgb(48, 4, 43)
HSLhsl(307, 85%, 10%)
HSVhsv(307, 92%, 19%)
CMYKcmyk(0%, 91.7%, 10.4%, 81.2%)
CIE-LABlab(8.04, 27.11, -14.38)
CIE-LCHlch(8.04, 30.68, 332.06°)
OKLaboklab(21.89% 0.0784 -0.0395)
OKLCHoklch(21.89% 0.088 333.3)
XYZxyz(1.6984, 0.8898, 2.3673)
Luminance0.0089 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30042B #043009
analogous
#1F0430 #30042B #300415
triadic
#30042B #2B3004 #042B30
tetradic
#30042B #301F04 #043009 #041530
square
#30042B #301F04 #043009 #041530
split-complementary
#30042B #153004 #04301F
monochromatic
#1C0219 #1C0219 #30042B #68095E #A10D90

Accessibility & contrast

On white

17.83
#30042B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30042B
17.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30042B#FFFFFF#000000##FFFFFF
##30042B1.0017.831.1817.83
#FFFFFF17.831.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03132C
Deuteranopia (green-blind)
#131A2A
Tritanopia (blue-blind)
#330817
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30042b;
/* rgb */ color: rgb(48, 4, 43);
/* oklch */ color: oklch(21.9% 0.088 333.3);
Tailwind
colors: {
  custom: {
    50: '#6a4964',
    500: '#30042b',
    950: '#000000',
  },
}
SCSS
$custom: #30042b;
$custom-light: #6a4964;
$custom-dark: #000000;
JSON
{
  "hex": "#30042b",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 43
  },
  "hsl": {
    "h": 306.818,
    "s": 84.615,
    "l": 10.196
  },
  "oklch": {
    "l": 0.21891,
    "c": 0.0878,
    "h": 333.3
  },
  "luminance": 0.0089
}

Semantic roles & 50–950 ramp

primary
#30042B
secondary
#1D7227
accent
#FB442D
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30042B

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

Preview Lab → · Contrast checker → · Palette generator →

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