#30207A#30207A

#30207A is a dark, vivid violet. Relative luminance 0.031; OKLCH L 32.8% C 0.144 H 283.2°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#30207A
RGBrgb(48, 32, 122)
HSLhsl(251, 58%, 30%)
HSVhsv(251, 74%, 48%)
CMYKcmyk(60.7%, 73.8%, 0%, 52.2%)
CIE-LABlab(20.31, 33.89, -48.62)
CIE-LCHlch(20.31, 59.27, 304.88°)
OKLaboklab(32.77% 0.0328 -0.14)
OKLCHoklch(32.77% 0.144 283.2)
XYZxyz(5.2472, 3.0662, 18.7239)
Luminance0.0307 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30207A #6A7A20
analogous
#203D7A #30207A #5D207A
triadic
#30207A #7A3020 #207A30
tetradic
#30207A #7A203D #6A7A20 #207A5D
square
#30207A #7A203D #6A7A20 #207A5D
split-complementary
#30207A #7A5D20 #3D7A20
monochromatic
#0A0719 #1D134A #30207A #432DAA #5E46CE

Accessibility & contrast

On white

13.02
#30207A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#30207A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30207A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30207A#FFFFFF#000000##FFFFFF
##30207A1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00347D
Deuteranopia (green-blind)
#002E78
Tritanopia (blue-blind)
#04384A
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #30207a;
/* rgb */ color: rgb(48, 32, 122);
/* oklch */ color: oklch(32.8% 0.144 283.2);
Tailwind
colors: {
  custom: {
    50: '#725da1',
    500: '#30207a',
    950: '#000000',
  },
}
SCSS
$custom: #30207a;
$custom-light: #725da1;
$custom-dark: #000000;
JSON
{
  "hex": "#30207a",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 122
  },
  "hsl": {
    "h": 250.667,
    "s": 58.442,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32774,
    "c": 0.14383,
    "h": 283.2
  },
  "luminance": 0.03067
}

Semantic roles & 50–950 ramp

primary
#30207A
secondary
#9BAD49
accent
#E246C6
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #30207A

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

Preview Lab → · Contrast checker → · Palette generator →

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