#30144D#30144D

#30144D is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.101 H 302.6°. Best body text is #FFFFFF at 15.75:1 contrast (WCAG AA passes).

Color values

HEX#30144D
RGBrgb(48, 20, 77)
HSLhsl(269, 59%, 19%)
HSVhsv(269, 74%, 30%)
CMYKcmyk(37.7%, 74%, 0%, 69.8%)
CIE-LABlab(13.62, 26.91, -29.79)
CIE-LCHlch(13.62, 40.14, 312.10°)
OKLaboklab(26.71% 0.0542 -0.0847)
OKLCHoklch(26.71% 0.101 302.6)
XYZxyz(2.8083, 1.6645, 7.1931)
Luminance0.0167 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30144D #314D14
analogous
#14154D #30144D #4D144D
triadic
#30144D #4D3014 #144D30
tetradic
#30144D #4D1415 #314D14 #144D4D
square
#30144D #4D1415 #314D14 #144D4D
split-complementary
#30144D #4D4D14 #154D14
monochromatic
#0F0618 #12071C #30144D #4E217E #6D2DAE

Accessibility & contrast

On white

15.75
#30144D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30144D
15.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30144D#FFFFFF#000000##FFFFFF
##30144D1.0015.751.3315.75
#FFFFFF15.751.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00224F
Deuteranopia (green-blind)
#00234C
Tritanopia (blue-blind)
#2A212E
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #30144d;
/* rgb */ color: rgb(48, 20, 77);
/* oklch */ color: oklch(26.7% 0.101 302.6);
Tailwind
colors: {
  custom: {
    50: '#6b547f',
    500: '#30144d',
    950: '#000000',
  },
}
SCSS
$custom: #30144d;
$custom-light: #6b547f;
$custom-dark: #000000;
JSON
{
  "hex": "#30144d",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 77
  },
  "hsl": {
    "h": 269.474,
    "s": 58.763,
    "l": 19.02
  },
  "oklch": {
    "l": 0.26713,
    "c": 0.10052,
    "h": 302.6
  },
  "luminance": 0.01665
}

Semantic roles & 50–950 ramp

primary
#30144D
secondary
#5F8538
accent
#E24695
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #30144D

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

Preview Lab → · Contrast checker → · Palette generator →

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