#30146E#30146E

#30146E is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.142 H 288.8°. Best body text is #FFFFFF at 14.47:1 contrast (WCAG AA passes).

Color values

HEX#30146E
RGBrgb(48, 20, 110)
HSLhsl(259, 69%, 25%)
HSVhsv(259, 82%, 43%)
CMYKcmyk(56.4%, 81.8%, 0%, 56.9%)
CIE-LABlab(16.77, 36.68, -46.70)
CIE-LCHlch(16.77, 59.38, 308.15°)
OKLaboklab(29.91% 0.0459 -0.1343)
OKLCHoklch(29.91% 0.142 288.8)
XYZxyz(4.2827, 2.2543, 14.9583)
Luminance0.0225 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30146E #526E14
analogous
#14256E #30146E #5D146E
triadic
#30146E #6E3014 #146E30
tetradic
#30146E #6E1425 #526E14 #146E5D
square
#30146E #6E1425 #526E14 #146E5D
split-complementary
#30146E #6E5D14 #256E14
monochromatic
#0B051A #190B3A #30146E #471DA2 #5D27D6

Accessibility & contrast

On white

14.47
#30146E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#30146E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30146E
14.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30146E#FFFFFF#000000##FFFFFF
##30146E1.0014.471.4514.47
#FFFFFF14.471.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B71
Deuteranopia (green-blind)
#00276C
Tritanopia (blue-blind)
#172E41
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #30146e;
/* rgb */ color: rgb(48, 20, 110);
/* oklch */ color: oklch(29.9% 0.142 288.8);
Tailwind
colors: {
  custom: {
    50: '#705599',
    500: '#30146e',
    950: '#000000',
  },
}
SCSS
$custom: #30146e;
$custom-light: #705599;
$custom-dark: #000000;
JSON
{
  "hex": "#30146e",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 110
  },
  "hsl": {
    "h": 258.667,
    "s": 69.231,
    "l": 25.49
  },
  "oklch": {
    "l": 0.29909,
    "c": 0.14194,
    "h": 288.8
  },
  "luminance": 0.02254
}

Semantic roles & 50–950 ramp

primary
#30146E
secondary
#83A539
accent
#EC3CB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030E
muted
#7B787E

Preview Lab

Preview with #30146E

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

Preview Lab → · Contrast checker → · Palette generator →

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