#30144E#30144E

#30144E is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.8% C 0.102 H 302.0°. Best body text is #FFFFFF at 15.72:1 contrast (WCAG AA passes).

Color values

HEX#30144E
RGBrgb(48, 20, 78)
HSLhsl(269, 59%, 19%)
HSVhsv(269, 74%, 31%)
CMYKcmyk(38.5%, 74.4%, 0%, 69.4%)
CIE-LABlab(13.70, 27.20, -30.34)
CIE-LCHlch(13.70, 40.74, 311.88°)
OKLaboklab(26.8% 0.054 -0.0863)
OKLCHoklch(26.8% 0.102 302)
XYZxyz(2.8439, 1.6787, 7.3805)
Luminance0.0168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30144E #324E14
analogous
#14154E #30144E #4D144E
triadic
#30144E #4E3014 #144E30
tetradic
#30144E #4E1415 #324E14 #144E4D
square
#30144E #4E1415 #324E14 #144E4D
split-complementary
#30144E #4E4D14 #154E14
monochromatic
#0F0618 #12081D #30144E #4E207F #6C2DAF

Accessibility & contrast

On white

15.72
#30144E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#30144E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30144E
15.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30144E#FFFFFF#000000##FFFFFF
##30144E1.0015.721.3415.72
#FFFFFF15.721.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002350
Deuteranopia (green-blind)
#00234D
Tritanopia (blue-blind)
#2A212F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #30144e;
/* rgb */ color: rgb(48, 20, 78);
/* oklch */ color: oklch(26.8% 0.102 302.0);
Tailwind
colors: {
  custom: {
    50: '#6b5480',
    500: '#30144e',
    950: '#000000',
  },
}
SCSS
$custom: #30144e;
$custom-light: #6b5480;
$custom-dark: #000000;
JSON
{
  "hex": "#30144e",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 78
  },
  "hsl": {
    "h": 268.966,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.268,
    "c": 0.10181,
    "h": 302
  },
  "luminance": 0.01679
}

Semantic roles & 50–950 ramp

primary
#30144E
secondary
#608638
accent
#E24597
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30144E

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

Preview Lab → · Contrast checker → · Palette generator →

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