#30082D#30082D

#30082D is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.6% C 0.083 H 331.1°. Best body text is #FFFFFF at 17.52:1 contrast (WCAG AA passes).

Color values

HEX#30082D
RGBrgb(48, 8, 45)
HSLhsl(305, 71%, 11%)
HSVhsv(305, 83%, 19%)
CMYKcmyk(0%, 83.3%, 6.2%, 81.2%)
CIE-LABlab(8.92, 25.35, -14.48)
CIE-LCHlch(8.92, 29.19, 330.27°)
OKLaboklab(22.57% 0.0723 -0.0398)
OKLCHoklch(22.57% 0.083 331.1)
XYZxyz(1.7794, 0.9916, 2.5798)
Luminance0.0099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30082D #08300B
analogous
#1F0830 #30082D #300819
triadic
#30082D #2D3008 #082D30
tetradic
#30082D #301F08 #08300B #081930
square
#30082D #301F08 #08300B #081930
split-complementary
#30082D #193008 #08301F
monochromatic
#1A0419 #1A0419 #30082D #64115E #99198F

Accessibility & contrast

On white

17.52
#30082D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#30082D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30082D
17.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30082D#FFFFFF#000000##FFFFFF
##30082D1.0017.521.2017.52
#FFFFFF17.521.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#06162E
Deuteranopia (green-blind)
#141B2C
Tritanopia (blue-blind)
#320C19
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #30082d;
/* rgb */ color: rgb(48, 8, 45);
/* oklch */ color: oklch(22.6% 0.083 331.1);
Tailwind
colors: {
  custom: {
    50: '#6a4c66',
    500: '#30082d',
    950: '#000000',
  },
}
SCSS
$custom: #30082d;
$custom-light: #6a4c66;
$custom-dark: #000000;
JSON
{
  "hex": "#30082d",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 45
  },
  "hsl": {
    "h": 304.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22568,
    "c": 0.08251,
    "h": 331.1
  },
  "luminance": 0.00992
}

Semantic roles & 50–950 ramp

primary
#30082D
secondary
#256F2A
accent
#EE473A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30082D

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

Preview Lab → · Contrast checker → · Palette generator →

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