#30199E#30199E

#30199E is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.8% C 0.195 H 278.0°. Best body text is #FFFFFF at 11.94:1 contrast (WCAG AA passes).

Color values

HEX#30199E
RGBrgb(48, 25, 158)
HSLhsl(250, 73%, 36%)
HSVhsv(250, 84%, 62%)
CMYKcmyk(69.6%, 84.2%, 0%, 38%)
CIE-LABlab(22.97, 48.71, -66.70)
CIE-LCHlch(22.97, 82.59, 306.14°)
OKLaboklab(35.8% 0.027 -0.1927)
OKLCHoklch(35.8% 0.195 278)
XYZxyz(7.7361, 3.7916, 32.6653)
Luminance0.0379 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30199E #879E19
analogous
#19449E #30199E #72199E
triadic
#30199E #9E3019 #199E30
tetradic
#30199E #9E1944 #879E19 #199E72
square
#30199E #9E1944 #879E19 #199E72
split-complementary
#30199E #9E7219 #449E19
monochromatic
#100834 #201169 #30199E #4021D3 #684EE3

Accessibility & contrast

On white

11.94
#30199E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#30199E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30199E
11.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30199E#FFFFFF#000000##FFFFFF
##30199E1.0011.941.7611.94
#FFFFFF11.941.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003CA2
Deuteranopia (green-blind)
#00319C
Tritanopia (blue-blind)
#00445E
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #30199e;
/* rgb */ color: rgb(48, 25, 158);
/* oklch */ color: oklch(35.8% 0.195 278.0);
Tailwind
colors: {
  custom: {
    50: '#7a5bbc',
    500: '#30199e',
    950: '#000000',
  },
}
SCSS
$custom: #30199e;
$custom-light: #7a5bbc;
$custom-dark: #000000;
JSON
{
  "hex": "#30199e",
  "rgb": {
    "r": 48,
    "g": 25,
    "b": 158
  },
  "hsl": {
    "h": 250.376,
    "s": 72.678,
    "l": 35.882
  },
  "oklch": {
    "l": 0.35796,
    "c": 0.19454,
    "h": 278
  },
  "luminance": 0.03792
}

Semantic roles & 50–950 ramp

primary
#30199E
secondary
#B1C54E
accent
#EF38D0
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #30199E

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

Preview Lab → · Contrast checker → · Palette generator →

#30199E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva