#30143A#30143A

#30143A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.2% C 0.076 H 316.3°. Best body text is #FFFFFF at 16.32:1 contrast (WCAG AA passes).

Color values

HEX#30143A
RGBrgb(48, 20, 58)
HSLhsl(284, 49%, 15%)
HSVhsv(284, 66%, 23%)
CMYKcmyk(17.2%, 65.5%, 0%, 77.3%)
CIE-LABlab(12.18, 21.71, -18.78)
CIE-LCHlch(12.18, 28.71, 319.15°)
OKLaboklab(25.22% 0.0549 -0.0524)
OKLCHoklch(25.22% 0.076 316.3)
XYZxyz(2.2327, 1.4343, 4.1614)
Luminance0.0143 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30143A #1E3A14
analogous
#1D143A #30143A #3A1431
triadic
#30143A #3A3014 #143A30
tetradic
#30143A #3A1D14 #1E3A14 #14313A
square
#30143A #3A1D14 #1E3A14 #14313A
split-complementary
#30143A #313A14 #143A1D
monochromatic
#130817 #130817 #30143A #562468 #7B3395

Accessibility & contrast

On white

16.32
#30143A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#30143A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30143A
16.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30143A#FFFFFF#000000##FFFFFF
##30143A1.0016.321.2916.32
#FFFFFF16.321.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1E3B
Deuteranopia (green-blind)
#142139
Tritanopia (blue-blind)
#301A24
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30143a;
/* rgb */ color: rgb(48, 20, 58);
/* oklch */ color: oklch(25.2% 0.076 316.3);
Tailwind
colors: {
  custom: {
    50: '#6a5370',
    500: '#30143a',
    950: '#000000',
  },
}
SCSS
$custom: #30143a;
$custom-light: #6a5370;
$custom-dark: #000000;
JSON
{
  "hex": "#30143a",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 58
  },
  "hsl": {
    "h": 284.211,
    "s": 48.718,
    "l": 15.294
  },
  "oklch": {
    "l": 0.25215,
    "c": 0.07594,
    "h": 316.3
  },
  "luminance": 0.01434
}

Semantic roles & 50–950 ramp

primary
#30143A
secondary
#477238
accent
#D85074
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30143A

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

Preview Lab → · Contrast checker → · Palette generator →

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