#30143B#30143B

#30143B is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.077 H 315.4°. Best body text is #FFFFFF at 16.29:1 contrast (WCAG AA passes).

Color values

HEX#30143B
RGBrgb(48, 20, 59)
HSLhsl(283, 49%, 15%)
HSVhsv(283, 66%, 23%)
CMYKcmyk(18.6%, 66.1%, 0%, 76.9%)
CIE-LABlab(12.25, 21.97, -19.38)
CIE-LCHlch(12.25, 29.30, 318.59°)
OKLaboklab(25.29% 0.055 -0.0542)
OKLCHoklch(25.29% 0.077 315.4)
XYZxyz(2.2584, 1.4445, 4.2967)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30143B #1F3B14
analogous
#1C143B #30143B #3B1432
triadic
#30143B #3B3014 #143B30
tetradic
#30143B #3B1C14 #1F3B14 #14323B
square
#30143B #3B1C14 #1F3B14 #14323B
split-complementary
#30143B #323B14 #143B1C
monochromatic
#130817 #130817 #30143B #552369 #7A3396

Accessibility & contrast

On white

16.29
#30143B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30143B
16.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30143B#FFFFFF#000000##FFFFFF
##30143B1.0016.291.2916.29
#FFFFFF16.291.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A1E3C
Deuteranopia (green-blind)
#14213A
Tritanopia (blue-blind)
#2F1B25
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30143b;
/* rgb */ color: rgb(48, 20, 59);
/* oklch */ color: oklch(25.3% 0.077 315.4);
Tailwind
colors: {
  custom: {
    50: '#6a5371',
    500: '#30143b',
    950: '#000000',
  },
}
SCSS
$custom: #30143b;
$custom-light: #6a5371;
$custom-dark: #000000;
JSON
{
  "hex": "#30143b",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 59
  },
  "hsl": {
    "h": 283.077,
    "s": 49.367,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25286,
    "c": 0.07721,
    "h": 315.4
  },
  "luminance": 0.01444
}

Semantic roles & 50–950 ramp

primary
#30143B
secondary
#497338
accent
#D94F76
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30143B

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

Preview Lab → · Contrast checker → · Palette generator →

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