#30184C#30184C

#30184C is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.3% C 0.093 H 301.8°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#30184C
RGBrgb(48, 24, 76)
HSLhsl(268, 52%, 20%)
HSVhsv(268, 68%, 30%)
CMYKcmyk(36.8%, 68.4%, 0%, 70.2%)
CIE-LABlab(14.42, 24.21, -27.80)
CIE-LCHlch(14.42, 36.87, 311.05°)
OKLaboklab(27.27% 0.0489 -0.0789)
OKLCHoklch(27.27% 0.093 301.8)
XYZxyz(2.8498, 1.8034, 7.0340)
Luminance0.0180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30184C #344C18
analogous
#181A4C #30184C #4A184C
triadic
#30184C #4C3018 #184C30
tetradic
#30184C #4C181A #344C18 #184C4A
square
#30184C #4C181A #344C18 #184C4A
split-complementary
#30184C #4C4A18 #1A4C18
monochromatic
#0F0717 #13091D #30184C #4D277B #6B35A9

Accessibility & contrast

On white

15.43
#30184C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30184C
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30184C#FFFFFF#000000##FFFFFF
##30184C1.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#07244B
Tritanopia (blue-blind)
#2A232F
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #30184c;
/* rgb */ color: rgb(48, 24, 76);
/* oklch */ color: oklch(27.3% 0.093 301.8);
Tailwind
colors: {
  custom: {
    50: '#6b567e',
    500: '#30184c',
    950: '#000000',
  },
}
SCSS
$custom: #30184c;
$custom-light: #6b567e;
$custom-dark: #000000;
JSON
{
  "hex": "#30184c",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 76
  },
  "hsl": {
    "h": 267.692,
    "s": 52,
    "l": 19.608
  },
  "oklch": {
    "l": 0.27266,
    "c": 0.0928,
    "h": 301.8
  },
  "luminance": 0.01803
}

Semantic roles & 50–950 ramp

primary
#30184C
secondary
#63833D
accent
#DB4C99
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30184C

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

Preview Lab → · Contrast checker → · Palette generator →

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