#30153A#30153A

#30153A is a dark, moderate purple. Relative luminance 0.015; OKLCH L 25.4% C 0.074 H 316.1°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#30153A
RGBrgb(48, 21, 58)
HSLhsl(284, 47%, 15%)
HSVhsv(284, 64%, 23%)
CMYKcmyk(17.2%, 63.8%, 0%, 77.3%)
CIE-LABlab(12.42, 21.09, -18.40)
CIE-LCHlch(12.42, 27.99, 318.89°)
OKLaboklab(25.39% 0.0533 -0.0513)
OKLCHoklch(25.39% 0.074 316.1)
XYZxyz(2.2507, 1.4703, 4.1674)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30153A #1F3A15
analogous
#1D153A #30153A #3A1531
triadic
#30153A #3A3015 #153A30
tetradic
#30153A #3A1D15 #1F3A15 #15313A
square
#30153A #3A1D15 #1F3A15 #15313A
split-complementary
#30153A #313A15 #153A1D
monochromatic
#130816 #130816 #30153A #552567 #7A3694

Accessibility & contrast

On white

16.23
#30153A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30153A
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30153A#FFFFFF#000000##FFFFFF
##30153A1.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C1F3B
Deuteranopia (green-blind)
#152139
Tritanopia (blue-blind)
#2F1B25
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30153a;
/* rgb */ color: rgb(48, 21, 58);
/* oklch */ color: oklch(25.4% 0.074 316.1);
Tailwind
colors: {
  custom: {
    50: '#695470',
    500: '#30153a',
    950: '#000000',
  },
}
SCSS
$custom: #30153a;
$custom-light: #695470;
$custom-dark: #000000;
JSON
{
  "hex": "#30153a",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 58
  },
  "hsl": {
    "h": 283.784,
    "s": 46.835,
    "l": 15.49
  },
  "oklch": {
    "l": 0.25387,
    "c": 0.07401,
    "h": 316.1
  },
  "luminance": 0.0147
}

Semantic roles & 50–950 ramp

primary
#30153A
secondary
#497139
accent
#D65175
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30153A

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

Preview Lab → · Contrast checker → · Palette generator →

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