#30207D#30207D

#30207D is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.1% C 0.148 H 282.6°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#30207D
RGBrgb(48, 32, 125)
HSLhsl(250, 59%, 31%)
HSVhsv(250, 74%, 49%)
CMYKcmyk(61.6%, 74.4%, 0%, 51%)
CIE-LABlab(20.60, 34.87, -50.04)
CIE-LCHlch(20.60, 61.00, 304.87°)
OKLaboklab(33.07% 0.0322 -0.1442)
OKLCHoklch(33.07% 0.148 282.6)
XYZxyz(5.4360, 3.1417, 19.7180)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30207D #6D7D20
analogous
#203E7D #30207D #5E207D
triadic
#30207D #7D3020 #207D30
tetradic
#30207D #7D203E #6D7D20 #207D5E
square
#30207D #7D203E #6D7D20 #207D5E
split-complementary
#30207D #7D5E20 #3E7D20
monochromatic
#0B071C #1D144C #30207D #432CAE #5F47D0

Accessibility & contrast

On white

12.90
#30207D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#30207D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30207D
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30207D#FFFFFF#000000##FFFFFF
##30207D1.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003580
Deuteranopia (green-blind)
#002E7B
Tritanopia (blue-blind)
#00394C
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #30207d;
/* rgb */ color: rgb(48, 32, 125);
/* oklch */ color: oklch(33.1% 0.148 282.6);
Tailwind
colors: {
  custom: {
    50: '#725da4',
    500: '#30207d',
    950: '#000000',
  },
}
SCSS
$custom: #30207d;
$custom-light: #725da4;
$custom-dark: #000000;
JSON
{
  "hex": "#30207d",
  "rgb": {
    "r": 48,
    "g": 32,
    "b": 125
  },
  "hsl": {
    "h": 250.323,
    "s": 59.236,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33074,
    "c": 0.14775,
    "h": 282.6
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#30207D
secondary
#9EB049
accent
#E245C7
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #30207D

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

Preview Lab → · Contrast checker → · Palette generator →

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