#30012B#30012B

#30012B is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.5% C 0.094 H 333.2°. Best body text is #FFFFFF at 18.03:1 contrast (WCAG AA passes).

Color values

HEX#30012B
RGBrgb(48, 1, 43)
HSLhsl(306, 96%, 10%)
HSVhsv(306, 98%, 19%)
CMYKcmyk(0%, 97.9%, 10.4%, 81.2%)
CIE-LABlab(7.45, 28.80, -15.31)
CIE-LCHlch(7.45, 32.62, 332.01°)
OKLaboklab(21.46% 0.0836 -0.0422)
OKLCHoklch(21.46% 0.094 333.2)
XYZxyz(1.6658, 0.8247, 2.3565)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30012B #013006
analogous
#1E0130 #30012B #300114
triadic
#30012B #2B3001 #012B30
tetradic
#30012B #301E01 #013006 #011430
square
#30012B #301E01 #013006 #011430
split-complementary
#30012B #143001 #01301E
monochromatic
#1E011B #1E011B #30012B #6C0261 #A80396

Accessibility & contrast

On white

18.03
#30012B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.17
#30012B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30012B
18.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30012B#FFFFFF#000000##FFFFFF
##30012B1.0018.031.1718.03
#FFFFFF18.031.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122C
Deuteranopia (green-blind)
#11192A
Tritanopia (blue-blind)
#330515
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #30012b;
/* rgb */ color: rgb(48, 1, 43);
/* oklch */ color: oklch(21.5% 0.094 333.2);
Tailwind
colors: {
  custom: {
    50: '#6b4764',
    500: '#30012b',
    950: '#000000',
  },
}
SCSS
$custom: #30012b;
$custom-light: #6b4764;
$custom-dark: #000000;
JSON
{
  "hex": "#30012b",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 43
  },
  "hsl": {
    "h": 306.383,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21463,
    "c": 0.0936,
    "h": 333.2
  },
  "luminance": 0.00825
}

Semantic roles & 50–950 ramp

primary
#30012B
secondary
#177621
accent
#FF4029
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#070005
muted
#7A777A

Preview Lab

Preview with #30012B

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

Preview Lab → · Contrast checker → · Palette generator →

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