#30012D#30012D

#30012D is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.6% C 0.095 H 331.2°. Best body text is #FFFFFF at 17.98:1 contrast (WCAG AA passes).

Color values

HEX#30012D
RGBrgb(48, 1, 45)
HSLhsl(304, 96%, 10%)
HSVhsv(304, 98%, 19%)
CMYKcmyk(0%, 97.9%, 6.2%, 81.2%)
CIE-LABlab(7.58, 29.19, -16.59)
CIE-LCHlch(7.58, 33.57, 330.38°)
OKLaboklab(21.61% 0.0835 -0.0459)
OKLCHoklch(21.61% 0.095 331.2)
XYZxyz(1.7034, 0.8397, 2.5545)
Luminance0.0084 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30012D #013004
analogous
#1C0130 #30012D #300116
triadic
#30012D #2D3001 #012D30
tetradic
#30012D #301C01 #013004 #011630
square
#30012D #301C01 #013004 #011630
split-complementary
#30012D #163001 #01301C
monochromatic
#1E011C #1E011C #30012D #6C0265 #A8039D

Accessibility & contrast

On white

17.98
#30012D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30012D
17.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30012D#FFFFFF#000000##FFFFFF
##30012D1.0017.981.1717.98
#FFFFFF17.981.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122E
Deuteranopia (green-blind)
#10192C
Tritanopia (blue-blind)
#320617
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30012d;
/* rgb */ color: rgb(48, 1, 45);
/* oklch */ color: oklch(21.6% 0.095 331.2);
Tailwind
colors: {
  custom: {
    50: '#6b4866',
    500: '#30012d',
    950: '#000000',
  },
}
SCSS
$custom: #30012d;
$custom-light: #6b4866;
$custom-dark: #000000;
JSON
{
  "hex": "#30012d",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 45
  },
  "hsl": {
    "h": 303.83,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21608,
    "c": 0.09526,
    "h": 331.2
  },
  "luminance": 0.0084
}

Semantic roles & 50–950 ramp

primary
#30012D
secondary
#17761D
accent
#FF3629
background
#F6F4F6
surface
#EBE6EB
border
#C6C2C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30012D

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

Preview Lab → · Contrast checker → · Palette generator →

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