#30143D#30143D

#30143D is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.4% C 0.080 H 313.7°. Best body text is #FFFFFF at 16.24:1 contrast (WCAG AA passes).

Color values

HEX#30143D
RGBrgb(48, 20, 61)
HSLhsl(281, 51%, 16%)
HSVhsv(281, 67%, 24%)
CMYKcmyk(21.3%, 67.2%, 0%, 76.1%)
CIE-LABlab(12.39, 22.49, -20.59)
CIE-LCHlch(12.39, 30.49, 317.53°)
OKLaboklab(25.43% 0.0551 -0.0577)
OKLCHoklch(25.43% 0.08 313.7)
XYZxyz(2.3112, 1.4657, 4.5751)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30143D #213D14
analogous
#1B143D #30143D #3D1435
triadic
#30143D #3D3014 #143D30
tetradic
#30143D #3D1B14 #213D14 #14353D
square
#30143D #3D1B14 #213D14 #14353D
split-complementary
#30143D #353D14 #143D1B
monochromatic
#120817 #120817 #30143D #54236B #793299

Accessibility & contrast

On white

16.24
#30143D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30143D
16.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30143D#FFFFFF#000000##FFFFFF
##30143D1.0016.241.2916.24
#FFFFFF16.241.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081F3E
Deuteranopia (green-blind)
#12213C
Tritanopia (blue-blind)
#2F1B26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30143d;
/* rgb */ color: rgb(48, 20, 61);
/* oklch */ color: oklch(25.4% 0.080 313.7);
Tailwind
colors: {
  custom: {
    50: '#6a5373',
    500: '#30143d',
    950: '#000000',
  },
}
SCSS
$custom: #30143d;
$custom-light: #6a5373;
$custom-dark: #000000;
JSON
{
  "hex": "#30143d",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 61
  },
  "hsl": {
    "h": 280.976,
    "s": 50.617,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25431,
    "c": 0.07978,
    "h": 313.7
  },
  "luminance": 0.01466
}

Semantic roles & 50–950 ramp

primary
#30143D
secondary
#4B7538
accent
#DA4E7A
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #30143D

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

Preview Lab → · Contrast checker → · Palette generator →

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