#30142E#30142E

#30142E is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.4% C 0.061 H 330.0°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#30142E
RGBrgb(48, 20, 46)
HSLhsl(304, 41%, 13%)
HSVhsv(304, 58%, 19%)
CMYKcmyk(0%, 58.3%, 4.2%, 81.2%)
CIE-LABlab(11.46, 18.82, -11.25)
CIE-LCHlch(11.46, 21.92, 329.13°)
OKLaboklab(24.44% 0.0531 -0.0307)
OKLCHoklch(24.44% 0.061 330)
XYZxyz(1.9622, 1.3261, 2.7368)
Luminance0.0133 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30142E #143016
analogous
#241430 #30142E #301420
triadic
#30142E #2E3014 #142E30
tetradic
#30142E #302414 #143016 #142030
square
#30142E #302414 #143016 #142030
split-complementary
#30142E #203014 #143024
monochromatic
#160915 #160915 #30142E #5B2657 #863881

Accessibility & contrast

On white

16.60
#30142E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#30142E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30142E
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30142E#FFFFFF#000000##FFFFFF
##30142E1.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#121C2F
Deuteranopia (green-blind)
#1B202D
Tritanopia (blue-blind)
#32161E
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #30142e;
/* rgb */ color: rgb(48, 20, 46);
/* oklch */ color: oklch(24.4% 0.061 330.0);
Tailwind
colors: {
  custom: {
    50: '#695366',
    500: '#30142e',
    950: '#000000',
  },
}
SCSS
$custom: #30142e;
$custom-light: #695366;
$custom-dark: #000000;
JSON
{
  "hex": "#30142e",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 46
  },
  "hsl": {
    "h": 304.286,
    "s": 41.176,
    "l": 13.333
  },
  "oklch": {
    "l": 0.24442,
    "c": 0.06133,
    "h": 330
  },
  "luminance": 0.01326
}

Semantic roles & 50–950 ramp

primary
#30142E
secondary
#39673C
accent
#D16057
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #30142E

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

Preview Lab → · Contrast checker → · Palette generator →

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