#30184B#30184B

#30184B is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.091 H 302.4°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#30184B
RGBrgb(48, 24, 75)
HSLhsl(268, 52%, 19%)
HSVhsv(268, 68%, 29%)
CMYKcmyk(36%, 68%, 0%, 70.6%)
CIE-LABlab(14.34, 23.92, -27.24)
CIE-LCHlch(14.34, 36.25, 311.29°)
OKLaboklab(27.19% 0.049 -0.0772)
OKLCHoklch(27.19% 0.091 302.4)
XYZxyz(2.8153, 1.7896, 6.8524)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30184B #334B18
analogous
#181A4B #30184B #4A184B
triadic
#30184B #4B3018 #184B30
tetradic
#30184B #4B181A #334B18 #184B4A
square
#30184B #4B181A #334B18 #184B4A
split-complementary
#30184B #4B4A18 #1A4B18
monochromatic
#0F0717 #12091D #30184B #4E2779 #6B36A8

Accessibility & contrast

On white

15.46
#30184B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30184B
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30184B#FFFFFF#000000##FFFFFF
##30184B1.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#09244A
Tritanopia (blue-blind)
#2B232E
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #30184b;
/* rgb */ color: rgb(48, 24, 75);
/* oklch */ color: oklch(27.2% 0.091 302.4);
Tailwind
colors: {
  custom: {
    50: '#6b567e',
    500: '#30184b',
    950: '#000000',
  },
}
SCSS
$custom: #30184b;
$custom-light: #6b567e;
$custom-dark: #000000;
JSON
{
  "hex": "#30184b",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 75
  },
  "hsl": {
    "h": 268.235,
    "s": 51.515,
    "l": 19.412
  },
  "oklch": {
    "l": 0.27185,
    "c": 0.09143,
    "h": 302.4
  },
  "luminance": 0.0179
}

Semantic roles & 50–950 ramp

primary
#30184B
secondary
#61823D
accent
#DB4D98
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30184B

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

Preview Lab → · Contrast checker → · Palette generator →

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