#30012F#30012F

#30012F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 21.8% C 0.097 H 329.3°. Best body text is #FFFFFF at 17.93:1 contrast (WCAG AA passes).

Color values

HEX#30012F
RGBrgb(48, 1, 47)
HSLhsl(301, 96%, 10%)
HSVhsv(301, 98%, 19%)
CMYKcmyk(0%, 97.9%, 2.1%, 81.2%)
CIE-LABlab(7.73, 29.58, -17.86)
CIE-LCHlch(7.73, 34.55, 328.88°)
OKLaboklab(21.76% 0.0833 -0.0496)
OKLCHoklch(21.76% 0.097 329.3)
XYZxyz(1.7429, 0.8555, 2.7621)
Luminance0.0086 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30012F #013002
analogous
#1A0130 #30012F #300118
triadic
#30012F #2F3001 #012F30
tetradic
#30012F #301A01 #013002 #011830
square
#30012F #301A01 #013002 #011830
split-complementary
#30012F #183001 #01301A
monochromatic
#1E011D #1E011D #30012F #6C026A #A803A4

Accessibility & contrast

On white

17.93
#30012F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30012F
17.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30012F#FFFFFF#000000##FFFFFF
##30012F1.0017.931.1717.93
#FFFFFF17.931.0021.001.00
#0000001.1721.001.0021.00
##FFFFFF17.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001330
Deuteranopia (green-blind)
#0F192E
Tritanopia (blue-blind)
#320718
Achromatopsia (no color)
#171717

Design tokens & code

CSS
--color: #30012f;
/* rgb */ color: rgb(48, 1, 47);
/* oklch */ color: oklch(21.8% 0.097 329.3);
Tailwind
colors: {
  custom: {
    50: '#6b4868',
    500: '#30012f',
    950: '#000000',
  },
}
SCSS
$custom: #30012f;
$custom-light: #6b4868;
$custom-dark: #000000;
JSON
{
  "hex": "#30012f",
  "rgb": {
    "r": 48,
    "g": 1,
    "b": 47
  },
  "hsl": {
    "h": 301.277,
    "s": 95.918,
    "l": 9.608
  },
  "oklch": {
    "l": 0.21759,
    "c": 0.09694,
    "h": 329.3
  },
  "luminance": 0.00855
}

Semantic roles & 50–950 ramp

primary
#30012F
secondary
#177619
accent
#FF2D29
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30012F

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

Preview Lab → · Contrast checker → · Palette generator →

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