#30073E#30073E

#30073E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.8% C 0.101 H 315.6°. Best body text is #FFFFFF at 17.13:1 contrast (WCAG AA passes).

Color values

HEX#30073E
RGBrgb(48, 7, 62)
HSLhsl(285, 80%, 14%)
HSVhsv(285, 89%, 24%)
CMYKcmyk(22.6%, 88.7%, 0%, 75.7%)
CIE-LABlab(10.02, 29.58, -25.10)
CIE-LCHlch(10.02, 38.79, 319.68°)
OKLaboklab(23.75% 0.0724 -0.0708)
OKLCHoklch(23.75% 0.101 315.6)
XYZxyz(2.1643, 1.1282, 4.6603)
Luminance0.0113 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30073E #153E07
analogous
#14073E #30073E #3E0730
triadic
#30073E #3E3007 #073E30
tetradic
#30073E #3E1407 #153E07 #07303E
square
#30073E #3E1407 #153E07 #07303E
split-complementary
#30073E #303E07 #073E14
monochromatic
#15031B #15031B #30073E #5B0D75 #8513AC

Accessibility & contrast

On white

17.13
#30073E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#30073E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30073E
17.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30073E#FFFFFF#000000##FFFFFF
##30073E1.0017.131.2317.13
#FFFFFF17.131.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#061D3D
Tritanopia (blue-blind)
#2F1422
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30073e;
/* rgb */ color: rgb(48, 7, 62);
/* oklch */ color: oklch(23.8% 0.101 315.6);
Tailwind
colors: {
  custom: {
    50: '#6b4c74',
    500: '#30073e',
    950: '#000000',
  },
}
SCSS
$custom: #30073e;
$custom-light: #6b4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#30073e",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 62
  },
  "hsl": {
    "h": 284.727,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23754,
    "c": 0.10126,
    "h": 315.6
  },
  "luminance": 0.01128
}

Semantic roles & 50–950 ramp

primary
#30073E
secondary
#3A7D24
accent
#F63264
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #30073E

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

Preview Lab → · Contrast checker → · Palette generator →

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