#30133A#30133A

#30133A is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.078 H 316.6°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#30133A
RGBrgb(48, 19, 58)
HSLhsl(285, 51%, 15%)
HSVhsv(285, 67%, 23%)
CMYKcmyk(17.2%, 67.2%, 0%, 77.3%)
CIE-LABlab(11.96, 22.33, -19.14)
CIE-LCHlch(11.96, 29.41, 319.40°)
OKLaboklab(25.05% 0.0566 -0.0535)
OKLCHoklch(25.05% 0.078 316.6)
XYZxyz(2.2154, 1.3997, 4.1556)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30133A #1D3A13
analogous
#1C133A #30133A #3A1331
triadic
#30133A #3A3013 #133A30
tetradic
#30133A #3A1C13 #1D3A13 #13313A
square
#30133A #3A1C13 #1D3A13 #13313A
split-complementary
#30133A #313A13 #133A1C
monochromatic
#130817 #130817 #30133A #562268 #7C3196

Accessibility & contrast

On white

16.41
#30133A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#30133A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30133A
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30133A#FFFFFF#000000##FFFFFF
##30133A1.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091E3B
Deuteranopia (green-blind)
#142039
Tritanopia (blue-blind)
#301924
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30133a;
/* rgb */ color: rgb(48, 19, 58);
/* oklch */ color: oklch(25.0% 0.078 316.6);
Tailwind
colors: {
  custom: {
    50: '#6a5270',
    500: '#30133a',
    950: '#000000',
  },
}
SCSS
$custom: #30133a;
$custom-light: #6a5270;
$custom-dark: #000000;
JSON
{
  "hex": "#30133a",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 58
  },
  "hsl": {
    "h": 284.615,
    "s": 50.649,
    "l": 15.098
  },
  "oklch": {
    "l": 0.25049,
    "c": 0.07783,
    "h": 316.6
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#30133A
secondary
#467236
accent
#DA4E72
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30133A

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

Preview Lab → · Contrast checker → · Palette generator →

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