#30184F#30184F

#30184F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.5% C 0.097 H 300.2°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#30184F
RGBrgb(48, 24, 79)
HSLhsl(266, 53%, 20%)
HSVhsv(266, 70%, 31%)
CMYKcmyk(39.2%, 69.6%, 0%, 69%)
CIE-LABlab(14.66, 25.10, -29.47)
CIE-LCHlch(14.66, 38.71, 310.42°)
OKLaboklab(27.51% 0.0487 -0.0838)
OKLCHoklch(27.51% 0.097 300.2)
XYZxyz(2.9565, 1.8461, 7.5962)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30184F #374F18
analogous
#181B4F #30184F #4B184F
triadic
#30184F #4F3018 #184F30
tetradic
#30184F #4F181B #374F18 #184F4B
square
#30184F #4F181B #374F18 #184F4B
split-complementary
#30184F #4F4B18 #1B4F18
monochromatic
#0E0717 #130A20 #30184F #4D267E #6935AD

Accessibility & contrast

On white

15.34
#30184F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#30184F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30184F
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30184F#FFFFFF#000000##FFFFFF
##30184F1.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002551
Deuteranopia (green-blind)
#03254E
Tritanopia (blue-blind)
#292431
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #30184f;
/* rgb */ color: rgb(48, 24, 79);
/* oklch */ color: oklch(27.5% 0.097 300.2);
Tailwind
colors: {
  custom: {
    50: '#6b5681',
    500: '#30184f',
    950: '#000000',
  },
}
SCSS
$custom: #30184f;
$custom-light: #6b5681;
$custom-dark: #000000;
JSON
{
  "hex": "#30184f",
  "rgb": {
    "r": 48,
    "g": 24,
    "b": 79
  },
  "hsl": {
    "h": 266.182,
    "s": 53.398,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27514,
    "c": 0.0969,
    "h": 300.2
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#30184F
secondary
#66863D
accent
#DD4B9D
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30184F

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

Preview Lab → · Contrast checker → · Palette generator →

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