#30012C#30012C

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

Color values

HEX#30012C
RGBrgb(48, 1, 44)
HSLhsl(305, 96%, 10%)
HSVhsv(305, 98%, 19%)
CMYKcmyk(0%, 97.9%, 8.3%, 81.2%)
CIE-LABlab(7.52, 29.00, -15.95)
CIE-LCHlch(7.52, 33.09, 331.18°)
OKLaboklab(21.54% 0.0835 -0.0441)
OKLCHoklch(21.54% 0.094 332.2)
XYZxyz(1.6844, 0.8321, 2.4543)
Luminance0.0083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30012C #013005
analogous
#1D0130 #30012C #300115
triadic
#30012C #2C3001 #012C30
tetradic
#30012C #301D01 #013005 #011530
square
#30012C #301D01 #013005 #011530
split-complementary
#30012C #153001 #01301D
monochromatic
#1E011B #1E011B #30012C #6C0263 #A8039A

Accessibility & contrast

On white

18.00
#30012C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30012C
18.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30012C#FFFFFF#000000##FFFFFF
##30012C1.0018.001.1718.00
#FFFFFF18.001.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF18.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122D
Deuteranopia (green-blind)
#10192B
Tritanopia (blue-blind)
#330616
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30012c;
/* rgb */ color: rgb(48, 1, 44);
/* oklch */ color: oklch(21.5% 0.094 332.2);
Tailwind
colors: {
  custom: {
    50: '#6b4865',
    500: '#30012c',
    950: '#000000',
  },
}
SCSS
$custom: #30012c;
$custom-light: #6b4865;
$custom-dark: #000000;
JSON
{
  "hex": "#30012c",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 44
  },
  "hsl": {
    "h": 305.106,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21535,
    "c": 0.09443,
    "h": 332.2
  },
  "luminance": 0.00832
}

Semantic roles & 50–950 ramp

primary
#30012C
secondary
#17761F
accent
#FF3B29
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#070105
muted
#7A777A

Preview Lab

Preview with #30012C

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

Preview Lab → · Contrast checker → · Palette generator →

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