#30144A#30144A

#30144A is a dark, moderate violet. Relative luminance 0.016; OKLCH L 26.5% C 0.097 H 304.4°. Best body text is #FFFFFF at 15.85:1 contrast (WCAG AA passes).

Color values

HEX#30144A
RGBrgb(48, 20, 74)
HSLhsl(271, 57%, 18%)
HSVhsv(271, 73%, 29%)
CMYKcmyk(35.1%, 73%, 0%, 71%)
CIE-LABlab(13.37, 26.06, -28.12)
CIE-LCHlch(13.37, 38.33, 312.82°)
OKLaboklab(26.46% 0.0546 -0.0798)
OKLCHoklch(26.46% 0.097 304.4)
XYZxyz(2.7048, 1.6231, 6.6480)
Luminance0.0162 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30144A #2E4A14
analogous
#15144A #30144A #4A1449
triadic
#30144A #4A3014 #144A30
tetradic
#30144A #4A1514 #2E4A14 #14494A
square
#30144A #4A1514 #2E4A14 #14494A
split-complementary
#30144A #494A14 #144A15
monochromatic
#100718 #11071A #30144A #4F217A #6F2EAA

Accessibility & contrast

On white

15.85
#30144A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#30144A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30144A
15.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30144A#FFFFFF#000000##FFFFFF
##30144A1.0015.851.3215.85
#FFFFFF15.851.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224C
Deuteranopia (green-blind)
#042249
Tritanopia (blue-blind)
#2B202D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #30144a;
/* rgb */ color: rgb(48, 20, 74);
/* oklch */ color: oklch(26.5% 0.097 304.4);
Tailwind
colors: {
  custom: {
    50: '#6b547d',
    500: '#30144a',
    950: '#000000',
  },
}
SCSS
$custom: #30144a;
$custom-light: #6b547d;
$custom-dark: #000000;
JSON
{
  "hex": "#30144a",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 74
  },
  "hsl": {
    "h": 271.111,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.26457,
    "c": 0.09665,
    "h": 304.4
  },
  "luminance": 0.01623
}

Semantic roles & 50–950 ramp

primary
#30144A
secondary
#5C8238
accent
#E14791
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #30144A

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

Preview Lab → · Contrast checker → · Palette generator →

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