#30144C#30144C

#30144C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.099 H 303.2°. Best body text is #FFFFFF at 15.79:1 contrast (WCAG AA passes).

Color values

HEX#30144C
RGBrgb(48, 20, 76)
HSLhsl(270, 58%, 19%)
HSVhsv(270, 74%, 30%)
CMYKcmyk(36.8%, 73.7%, 0%, 70.2%)
CIE-LABlab(13.53, 26.63, -29.23)
CIE-LCHlch(13.53, 39.54, 312.33°)
OKLaboklab(26.63% 0.0543 -0.0831)
OKLCHoklch(26.63% 0.099 303.2)
XYZxyz(2.7733, 1.6505, 7.0085)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30144C #304C14
analogous
#14144C #30144C #4C144C
triadic
#30144C #4C3014 #144C30
tetradic
#30144C #4C1414 #304C14 #144C4C
square
#30144C #4C1414 #304C14 #144C4C
split-complementary
#30144C #4C4C14 #144C14
monochromatic
#0F0618 #11071C #30144C #4F217C #6D2EAD

Accessibility & contrast

On white

15.79
#30144C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30144C
15.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30144C#FFFFFF#000000##FFFFFF
##30144C1.0015.791.3315.79
#FFFFFF15.791.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224E
Deuteranopia (green-blind)
#01234B
Tritanopia (blue-blind)
#2A212E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #30144c;
/* rgb */ color: rgb(48, 20, 76);
/* oklch */ color: oklch(26.6% 0.099 303.2);
Tailwind
colors: {
  custom: {
    50: '#6b547e',
    500: '#30144c',
    950: '#000000',
  },
}
SCSS
$custom: #30144c;
$custom-light: #6b547e;
$custom-dark: #000000;
JSON
{
  "hex": "#30144c",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 76
  },
  "hsl": {
    "h": 270,
    "s": 58.333,
    "l": 18.824
  },
  "oklch": {
    "l": 0.26627,
    "c": 0.09924,
    "h": 303.2
  },
  "luminance": 0.0165
}

Semantic roles & 50–950 ramp

primary
#30144C
secondary
#5E8438
accent
#E24694
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30144C

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

Preview Lab → · Contrast checker → · Palette generator →

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