#30216A#30216A

#30216A is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.4% C 0.121 H 286.6°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#30216A
RGBrgb(48, 33, 106)
HSLhsl(252, 53%, 27%)
HSVhsv(252, 69%, 42%)
CMYKcmyk(54.7%, 68.9%, 0%, 58.4%)
CIE-LABlab(19.04, 27.99, -40.37)
CIE-LCHlch(19.04, 49.13, 304.74°)
OKLaboklab(31.41% 0.0346 -0.1158)
OKLCHoklch(31.41% 0.121 286.6)
XYZxyz(4.3635, 2.7565, 13.9350)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30216A #5B6A21
analogous
#21366A #30216A #55216A
triadic
#30216A #6A3021 #216A30
tetradic
#30216A #6A2136 #5B6A21 #216A55
square
#30216A #6A2136 #5B6A21 #216A55
split-complementary
#30216A #6A5521 #366A21
monochromatic
#0B0717 #1B123B #30216A #453099 #5C41C4

Accessibility & contrast

On white

13.54
#30216A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#30216A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30216A
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30216A#FFFFFF#000000##FFFFFF
##30216A1.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00306C
Deuteranopia (green-blind)
#002C69
Tritanopia (blue-blind)
#1A3342
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #30216a;
/* rgb */ color: rgb(48, 33, 106);
/* oklch */ color: oklch(31.4% 0.121 286.6);
Tailwind
colors: {
  custom: {
    50: '#6f5d95',
    500: '#30216a',
    950: '#000000',
  },
}
SCSS
$custom: #30216a;
$custom-light: #6f5d95;
$custom-dark: #000000;
JSON
{
  "hex": "#30216a",
  "rgb": {
    "r": 48,
    "g": 33,
    "b": 106
  },
  "hsl": {
    "h": 252.329,
    "s": 52.518,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31405,
    "c": 0.1209,
    "h": 286.6
  },
  "luminance": 0.02757
}

Semantic roles & 50–950 ramp

primary
#30216A
secondary
#8C9E49
accent
#DC4CBE
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #30216A

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

Preview Lab → · Contrast checker → · Palette generator →

#30216A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva