#30062D#30062D

#30062D is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.086 H 331.1°. Best body text is #FFFFFF at 17.65:1 contrast (WCAG AA passes).

Color values

HEX#30062D
RGBrgb(48, 6, 45)
HSLhsl(304, 78%, 11%)
HSVhsv(304, 88%, 19%)
CMYKcmyk(0%, 87.5%, 6.2%, 81.2%)
CIE-LABlab(8.55, 26.39, -15.06)
CIE-LCHlch(8.55, 30.39, 330.29°)
OKLaboklab(22.3% 0.0753 -0.0415)
OKLCHoklch(22.3% 0.086 331.1)
XYZxyz(1.7577, 0.9482, 2.5726)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30062D #063009
analogous
#1E0630 #30062D #300618
triadic
#30062D #2D3006 #062D30
tetradic
#30062D #301E06 #063009 #061830
square
#30062D #301E06 #063009 #061830
split-complementary
#30062D #183006 #06301E
monochromatic
#1B0319 #1B0319 #30062D #660D60 #9D1493

Accessibility & contrast

On white

17.65
#30062D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30062D
17.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30062D#FFFFFF#000000##FFFFFF
##30062D1.0017.651.1917.65
#FFFFFF17.651.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#03152E
Deuteranopia (green-blind)
#131B2C
Tritanopia (blue-blind)
#320B18
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30062d;
/* rgb */ color: rgb(48, 6, 45);
/* oklch */ color: oklch(22.3% 0.086 331.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a66',
    500: '#30062d',
    950: '#000000',
  },
}
SCSS
$custom: #30062d;
$custom-light: #6a4a66;
$custom-dark: #000000;
JSON
{
  "hex": "#30062d",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 45
  },
  "hsl": {
    "h": 304.286,
    "s": 77.778,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22302,
    "c": 0.08597,
    "h": 331.1
  },
  "luminance": 0.00948
}

Semantic roles & 50–950 ramp

primary
#30062D
secondary
#217127
accent
#F44134
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30062D

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

Preview Lab → · Contrast checker → · Palette generator →

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