#30073D#30073D

#30073D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.100 H 316.4°. Best body text is #FFFFFF at 17.17:1 contrast (WCAG AA passes).

Color values

HEX#30073D
RGBrgb(48, 7, 61)
HSLhsl(286, 79%, 13%)
HSVhsv(286, 89%, 24%)
CMYKcmyk(21.3%, 88.5%, 0%, 76.1%)
CIE-LABlab(9.93, 29.34, -24.52)
CIE-LCHlch(9.93, 38.24, 320.11°)
OKLaboklab(23.67% 0.0726 -0.0691)
OKLCHoklch(23.67% 0.1 316.4)
XYZxyz(2.1371, 1.1173, 4.5171)
Luminance0.0112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30073D #143D07
analogous
#15073D #30073D #3D072F
triadic
#30073D #3D3007 #073D30
tetradic
#30073D #3D1507 #143D07 #072F3D
square
#30073D #3D1507 #143D07 #072F3D
split-complementary
#30073D #2F3D07 #073D15
monochromatic
#16031B #16031B #30073D #5B0D74 #8614AB

Accessibility & contrast

On white

17.17
#30073D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#30073D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30073D
17.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30073D#FFFFFF#000000##FFFFFF
##30073D1.0017.171.2217.17
#FFFFFF17.171.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#071C3C
Tritanopia (blue-blind)
#2F1322
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30073d;
/* rgb */ color: rgb(48, 7, 61);
/* oklch */ color: oklch(23.7% 0.100 316.4);
Tailwind
colors: {
  custom: {
    50: '#6b4c73',
    500: '#30073d',
    950: '#000000',
  },
}
SCSS
$custom: #30073d;
$custom-light: #6b4c73;
$custom-dark: #000000;
JSON
{
  "hex": "#30073d",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 61
  },
  "hsl": {
    "h": 285.556,
    "s": 79.412,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23669,
    "c": 0.10023,
    "h": 316.4
  },
  "luminance": 0.01117
}

Semantic roles & 50–950 ramp

primary
#30073D
secondary
#397C23
accent
#F63261
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #30073D

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

Preview Lab → · Contrast checker → · Palette generator →

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