#30063D#30063D

#30063D is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.102 H 316.6°. Best body text is #FFFFFF at 17.22:1 contrast (WCAG AA passes).

Color values

HEX#30063D
RGBrgb(48, 6, 61)
HSLhsl(286, 82%, 13%)
HSVhsv(286, 90%, 24%)
CMYKcmyk(21.3%, 90.2%, 0%, 76.1%)
CIE-LABlab(9.76, 29.83, -24.80)
CIE-LCHlch(9.76, 38.79, 320.27°)
OKLaboklab(23.55% 0.0738 -0.0699)
OKLCHoklch(23.55% 0.102 316.6)
XYZxyz(2.1262, 1.0956, 4.5135)
Luminance0.0110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30063D #133D06
analogous
#14063D #30063D #3D062E
triadic
#30063D #3D3006 #063D30
tetradic
#30063D #3D1406 #133D06 #062E3D
square
#30063D #3D1406 #133D06 #062E3D
split-complementary
#30063D #2E3D06 #063D14
monochromatic
#16031C #16031C #30063D #5C0B75 #8811AC

Accessibility & contrast

On white

17.22
#30063D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30063D
17.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30063D#FFFFFF#000000##FFFFFF
##30063D1.0017.221.2217.22
#FFFFFF17.221.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #30063d;
/* rgb */ color: rgb(48, 6, 61);
/* oklch */ color: oklch(23.5% 0.102 316.6);
Tailwind
colors: {
  custom: {
    50: '#6b4b73',
    500: '#30063d',
    950: '#000000',
  },
}
SCSS
$custom: #30063d;
$custom-light: #6b4b73;
$custom-dark: #000000;
JSON
{
  "hex": "#30063d",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 61
  },
  "hsl": {
    "h": 285.818,
    "s": 82.09,
    "l": 13.137
  },
  "oklch": {
    "l": 0.2355,
    "c": 0.10167,
    "h": 316.6
  },
  "luminance": 0.01096
}

Semantic roles & 50–950 ramp

primary
#30063D
secondary
#377D22
accent
#F82F5F
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070108
muted
#7A777B

Preview Lab

Preview with #30063D

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

Preview Lab → · Contrast checker → · Palette generator →

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