#30144B#30144B

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

Color values

HEX#30144B
RGBrgb(48, 20, 75)
HSLhsl(271, 58%, 19%)
HSVhsv(271, 73%, 29%)
CMYKcmyk(36%, 73.3%, 0%, 70.6%)
CIE-LABlab(13.45, 26.34, -28.68)
CIE-LCHlch(13.45, 38.94, 312.57°)
OKLaboklab(26.54% 0.0544 -0.0814)
OKLCHoklch(26.54% 0.098 303.8)
XYZxyz(2.7388, 1.6367, 6.8269)
Luminance0.0164 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30144B #2F4B14
analogous
#14144B #30144B #4B144A
triadic
#30144B #4B3014 #144B30
tetradic
#30144B #4B1414 #2F4B14 #144A4B
square
#30144B #4B1414 #2F4B14 #144A4B
split-complementary
#30144B #4A4B14 #144B14
monochromatic
#0F0618 #11071B #30144B #4F217B #6E2EAC

Accessibility & contrast

On white

15.82
#30144B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#30144B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30144B
15.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30144B#FFFFFF#000000##FFFFFF
##30144B1.0015.821.3315.82
#FFFFFF15.821.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224D
Deuteranopia (green-blind)
#03224A
Tritanopia (blue-blind)
#2B202D
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #30144b;
/* rgb */ color: rgb(48, 20, 75);
/* oklch */ color: oklch(26.5% 0.098 303.8);
Tailwind
colors: {
  custom: {
    50: '#6b547e',
    500: '#30144b',
    950: '#000000',
  },
}
SCSS
$custom: #30144b;
$custom-light: #6b547e;
$custom-dark: #000000;
JSON
{
  "hex": "#30144b",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 75
  },
  "hsl": {
    "h": 270.545,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.26541,
    "c": 0.09794,
    "h": 303.8
  },
  "luminance": 0.01637
}

Semantic roles & 50–950 ramp

primary
#30144B
secondary
#5D8338
accent
#E14792
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07020A
muted
#7A787C

Preview Lab

Preview with #30144B

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

Preview Lab → · Contrast checker → · Palette generator →

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