#30063B#30063B

#30063B is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.4% C 0.100 H 318.1°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#30063B
RGBrgb(48, 6, 59)
HSLhsl(288, 82%, 13%)
HSVhsv(288, 90%, 23%)
CMYKcmyk(18.6%, 89.8%, 0%, 76.9%)
CIE-LABlab(9.60, 29.37, -23.63)
CIE-LCHlch(9.60, 37.70, 321.18°)
OKLaboklab(23.38% 0.0742 -0.0665)
OKLCHoklch(23.38% 0.1 318.1)
XYZxyz(2.0734, 1.0745, 4.2350)
Luminance0.0107 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30063B #113B06
analogous
#15063B #30063B #3B062B
triadic
#30063B #3B3006 #063B30
tetradic
#30063B #3B1506 #113B06 #062B3B
square
#30063B #3B1506 #113B06 #062B3B
split-complementary
#30063B #2B3B06 #063B15
monochromatic
#17031C #17031C #30063B #5D0C73 #8A11AA

Accessibility & contrast

On white

17.29
#30063B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#30063B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30063B
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30063B#FFFFFF#000000##FFFFFF
##30063B1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00183C
Deuteranopia (green-blind)
#081C3A
Tritanopia (blue-blind)
#301220
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #30063b;
/* rgb */ color: rgb(48, 6, 59);
/* oklch */ color: oklch(23.4% 0.100 318.1);
Tailwind
colors: {
  custom: {
    50: '#6b4b71',
    500: '#30063b',
    950: '#000000',
  },
}
SCSS
$custom: #30063b;
$custom-light: #6b4b71;
$custom-dark: #000000;
JSON
{
  "hex": "#30063b",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 59
  },
  "hsl": {
    "h": 287.547,
    "s": 81.538,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23379,
    "c": 0.09964,
    "h": 318.1
  },
  "luminance": 0.01074
}

Semantic roles & 50–950 ramp

primary
#30063B
secondary
#347B22
accent
#F83059
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070108
muted
#7A777B

Preview Lab

Preview with #30063B

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

Preview Lab → · Contrast checker → · Palette generator →

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