#30133B#30133B

#30133B is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.079 H 315.7°. Best body text is #FFFFFF at 16.38:1 contrast (WCAG AA passes).

Color values

HEX#30133B
RGBrgb(48, 19, 59)
HSLhsl(284, 51%, 15%)
HSVhsv(284, 68%, 23%)
CMYKcmyk(18.6%, 67.8%, 0%, 76.9%)
CIE-LABlab(12.02, 22.58, -19.74)
CIE-LCHlch(12.02, 30.00, 318.84°)
OKLaboklab(25.12% 0.0566 -0.0552)
OKLCHoklch(25.12% 0.079 315.7)
XYZxyz(2.2411, 1.4100, 4.2909)
Luminance0.0141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30133B #1E3B13
analogous
#1C133B #30133B #3B1332
triadic
#30133B #3B3013 #133B30
tetradic
#30133B #3B1C13 #1E3B13 #13323B
square
#30133B #3B1C13 #1E3B13 #13323B
split-complementary
#30133B #323B13 #133B1C
monochromatic
#130717 #130717 #30133B #562269 #7B3198

Accessibility & contrast

On white

16.38
#30133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30133B
16.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30133B#FFFFFF#000000##FFFFFF
##30133B1.0016.381.2816.38
#FFFFFF16.381.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#081E3C
Deuteranopia (green-blind)
#13203A
Tritanopia (blue-blind)
#2F1A24
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30133b;
/* rgb */ color: rgb(48, 19, 59);
/* oklch */ color: oklch(25.1% 0.079 315.7);
Tailwind
colors: {
  custom: {
    50: '#6a5271',
    500: '#30133b',
    950: '#000000',
  },
}
SCSS
$custom: #30133b;
$custom-light: #6a5271;
$custom-dark: #000000;
JSON
{
  "hex": "#30133b",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 283.5,
    "s": 51.282,
    "l": 15.294
  },
  "oklch": {
    "l": 0.2512,
    "c": 0.07908,
    "h": 315.7
  },
  "luminance": 0.0141
}

Semantic roles & 50–950 ramp

primary
#30133B
secondary
#477336
accent
#DB4D74
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30133B

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

Preview Lab → · Contrast checker → · Palette generator →

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