#30063E#30063E

#30063E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.6% C 0.103 H 315.8°. Best body text is #FFFFFF at 17.20:1 contrast (WCAG AA passes).

Color values

HEX#30063E
RGBrgb(48, 6, 62)
HSLhsl(285, 82%, 13%)
HSVhsv(285, 90%, 24%)
CMYKcmyk(22.6%, 90.3%, 0%, 75.7%)
CIE-LABlab(9.85, 30.06, -25.37)
CIE-LCHlch(9.85, 39.34, 319.84°)
OKLaboklab(23.64% 0.0736 -0.0716)
OKLCHoklch(23.64% 0.103 315.8)
XYZxyz(2.1534, 1.1065, 4.6566)
Luminance0.0111 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30063E #143E06
analogous
#14063E #30063E #3E0630
triadic
#30063E #3E3006 #063E30
tetradic
#30063E #3E1406 #143E06 #06303E
square
#30063E #3E1406 #143E06 #06303E
split-complementary
#30063E #303E06 #063E14
monochromatic
#16031C #16031C #30063E #5B0B76 #8611AE

Accessibility & contrast

On white

17.20
#30063E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#30063E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30063E
17.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30063E#FFFFFF#000000##FFFFFF
##30063E1.0017.201.2217.20
#FFFFFF17.201.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193F
Deuteranopia (green-blind)
#051C3D
Tritanopia (blue-blind)
#2F1322
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30063e;
/* rgb */ color: rgb(48, 6, 62);
/* oklch */ color: oklch(23.6% 0.103 315.8);
Tailwind
colors: {
  custom: {
    50: '#6b4c74',
    500: '#30063e',
    950: '#000000',
  },
}
SCSS
$custom: #30063e;
$custom-light: #6b4c74;
$custom-dark: #000000;
JSON
{
  "hex": "#30063e",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 62
  },
  "hsl": {
    "h": 285,
    "s": 82.353,
    "l": 13.333
  },
  "oklch": {
    "l": 0.23636,
    "c": 0.10269,
    "h": 315.8
  },
  "luminance": 0.01106
}

Semantic roles & 50–950 ramp

primary
#30063E
secondary
#397E22
accent
#F92F61
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #30063E

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

Preview Lab → · Contrast checker → · Palette generator →

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