#30082F#30082F

#30082F is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.7% C 0.084 H 329.0°. Best body text is #FFFFFF at 17.48:1 contrast (WCAG AA passes).

Color values

HEX#30082F
RGBrgb(48, 8, 47)
HSLhsl(302, 71%, 11%)
HSVhsv(302, 83%, 19%)
CMYKcmyk(0%, 83.3%, 2.1%, 81.2%)
CIE-LABlab(9.05, 25.75, -15.75)
CIE-LCHlch(9.05, 30.19, 328.55°)
OKLaboklab(22.71% 0.0724 -0.0435)
OKLCHoklch(22.71% 0.084 329)
XYZxyz(1.8188, 1.0074, 2.7874)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30082F #083009
analogous
#1D0830 #30082F #30081B
triadic
#30082F #2F3008 #082F30
tetradic
#30082F #301D08 #083009 #081B30
square
#30082F #301D08 #083009 #081B30
split-complementary
#30082F #1B3008 #08301D
monochromatic
#1A041A #1A041A #30082F #641162 #991996

Accessibility & contrast

On white

17.48
#30082F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30082F
17.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30082F#FFFFFF#000000##FFFFFF
##30082F1.0017.481.2017.48
#FFFFFF17.481.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041630
Deuteranopia (green-blind)
#131B2E
Tritanopia (blue-blind)
#320D1A
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #30082f;
/* rgb */ color: rgb(48, 8, 47);
/* oklch */ color: oklch(22.7% 0.084 329.0);
Tailwind
colors: {
  custom: {
    50: '#6a4c67',
    500: '#30082f',
    950: '#000000',
  },
}
SCSS
$custom: #30082f;
$custom-light: #6a4c67;
$custom-dark: #000000;
JSON
{
  "hex": "#30082f",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 47
  },
  "hsl": {
    "h": 301.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22705,
    "c": 0.08445,
    "h": 329
  },
  "luminance": 0.01007
}

Semantic roles & 50–950 ramp

primary
#30082F
secondary
#256F27
accent
#EE3E3A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30082F

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

Preview Lab → · Contrast checker → · Palette generator →

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