#30184A#30184A

#30184A is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.090 H 303.0°. Best body text is #FFFFFF at 15.50:1 contrast (WCAG AA passes).

Color values

HEX#30184A
RGBrgb(48, 24, 74)
HSLhsl(269, 51%, 19%)
HSVhsv(269, 68%, 29%)
CMYKcmyk(35.1%, 67.6%, 0%, 71%)
CIE-LABlab(14.27, 23.62, -26.67)
CIE-LCHlch(14.27, 35.63, 311.53°)
OKLaboklab(27.1% 0.049 -0.0756)
OKLCHoklch(27.1% 0.09 303)
XYZxyz(2.7813, 1.7761, 6.6735)
Luminance0.0178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30184A #324A18
analogous
#18194A #30184A #49184A
triadic
#30184A #4A3018 #184A30
tetradic
#30184A #4A1819 #324A18 #184A49
square
#30184A #4A1819 #324A18 #184A49
split-complementary
#30184A #4A4918 #194A18
monochromatic
#0F0717 #12091C #30184A #4E2778 #6C36A6

Accessibility & contrast

On white

15.50
#30184A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#30184A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30184A
15.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30184A#FFFFFF#000000##FFFFFF
##30184A1.0015.501.3615.50
#FFFFFF15.501.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244C
Deuteranopia (green-blind)
#0A2449
Tritanopia (blue-blind)
#2B222E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #30184a;
/* rgb */ color: rgb(48, 24, 74);
/* oklch */ color: oklch(27.1% 0.090 303.0);
Tailwind
colors: {
  custom: {
    50: '#6b567d',
    500: '#30184a',
    950: '#000000',
  },
}
SCSS
$custom: #30184a;
$custom-light: #6b567d;
$custom-dark: #000000;
JSON
{
  "hex": "#30184a",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 74
  },
  "hsl": {
    "h": 268.8,
    "s": 51.02,
    "l": 19.216
  },
  "oklch": {
    "l": 0.27104,
    "c": 0.09006,
    "h": 303
  },
  "luminance": 0.01776
}

Semantic roles & 50–950 ramp

primary
#30184A
secondary
#60813D
accent
#DA4D97
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070309
muted
#7A787B

Preview Lab

Preview with #30184A

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

Preview Lab → · Contrast checker → · Palette generator →

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