#30062A#30062A

#30062A is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.1% C 0.083 H 334.4°. Best body text is #FFFFFF at 17.72:1 contrast (WCAG AA passes).

Color values

HEX#30062A
RGBrgb(48, 6, 42)
HSLhsl(309, 78%, 11%)
HSVhsv(309, 88%, 19%)
CMYKcmyk(0%, 87.5%, 12.5%, 81.2%)
CIE-LABlab(8.36, 25.82, -13.12)
CIE-LCHlch(8.36, 28.96, 333.06°)
OKLaboklab(22.1% 0.0751 -0.0359)
OKLCHoklch(22.1% 0.083 334.4)
XYZxyz(1.7020, 0.9259, 2.2791)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30062A #06300C
analogous
#210630 #30062A #300615
triadic
#30062A #2A3006 #062A30
tetradic
#30062A #302106 #06300C #061530
square
#30062A #302106 #06300C #061530
split-complementary
#30062A #153006 #063021
monochromatic
#1B0318 #1B0318 #30062A #660D5A #9D1489

Accessibility & contrast

On white

17.72
#30062A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#30062A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30062A
17.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30062A#FFFFFF#000000##FFFFFF
##30062A1.0017.721.1917.72
#FFFFFF17.721.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06142B
Deuteranopia (green-blind)
#141A29
Tritanopia (blue-blind)
#330917
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30062a;
/* rgb */ color: rgb(48, 6, 42);
/* oklch */ color: oklch(22.1% 0.083 334.4);
Tailwind
colors: {
  custom: {
    50: '#6a4a63',
    500: '#30062a',
    950: '#000000',
  },
}
SCSS
$custom: #30062a;
$custom-light: #6a4a63;
$custom-dark: #000000;
JSON
{
  "hex": "#30062a",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 42
  },
  "hsl": {
    "h": 308.571,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.221,
    "c": 0.08324,
    "h": 334.4
  },
  "luminance": 0.00926
}

Semantic roles & 50–950 ramp

primary
#30062A
secondary
#21712D
accent
#F44F34
background
#F6F4F5
surface
#EBE7EA
border
#C6C3C6
text
#070105
muted
#7A7779

Preview Lab

Preview with #30062A

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

Preview Lab → · Contrast checker → · Palette generator →

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