#30012A#30012A

#30012A is a very dark, moderate purple. Relative luminance 0.008; OKLCH L 21.4% C 0.093 H 334.2°. Best body text is #FFFFFF at 18.05:1 contrast (WCAG AA passes).

Color values

HEX#30012A
RGBrgb(48, 1, 42)
HSLhsl(308, 96%, 10%)
HSVhsv(308, 98%, 19%)
CMYKcmyk(0%, 97.9%, 12.5%, 81.2%)
CIE-LABlab(7.38, 28.61, -14.66)
CIE-LCHlch(7.38, 32.15, 332.88°)
OKLaboklab(21.39% 0.0836 -0.0403)
OKLCHoklch(21.39% 0.093 334.2)
XYZxyz(1.6477, 0.8174, 2.2610)
Luminance0.0082 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30012A #013007
analogous
#1F0130 #30012A #300112
triadic
#30012A #2A3001 #012A30
tetradic
#30012A #301F01 #013007 #011230
square
#30012A #301F01 #013007 #011230
split-complementary
#30012A #123001 #01301F
monochromatic
#1E011A #1E011A #30012A #6C025E #A80393

Accessibility & contrast

On white

18.05
#30012A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.16
#30012A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30012A
18.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30012A#FFFFFF#000000##FFFFFF
##30012A1.0018.051.1618.05
#FFFFFF18.051.0021.001.00
#0000001.1621.001.0021.00
##FFFFFF18.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00122B
Deuteranopia (green-blind)
#121929
Tritanopia (blue-blind)
#330515
Achromatopsia (no color)
#161616

Design tokens & code

CSS
--color: #30012a;
/* rgb */ color: rgb(48, 1, 42);
/* oklch */ color: oklch(21.4% 0.093 334.2);
Tailwind
colors: {
  custom: {
    50: '#6b4763',
    500: '#30012a',
    950: '#000000',
  },
}
SCSS
$custom: #30012a;
$custom-light: #6b4763;
$custom-dark: #000000;
JSON
{
  "hex": "#30012a",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 42
  },
  "hsl": {
    "h": 307.66,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21392,
    "c": 0.0928,
    "h": 334.2
  },
  "luminance": 0.00817
}

Semantic roles & 50–950 ramp

primary
#30012A
secondary
#177623
accent
#FF4429
background
#F6F4F5
surface
#EBE6EA
border
#C6C2C6
text
#070005
muted
#7A7779

Preview Lab

Preview with #30012A

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

Preview Lab → · Contrast checker → · Palette generator →

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