#30133E#30133E

#30133E is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.3% C 0.083 H 313.1°. Best body text is #FFFFFF at 16.30:1 contrast (WCAG AA passes).

Color values

HEX#30133E
RGBrgb(48, 19, 62)
HSLhsl(280, 53%, 16%)
HSVhsv(280, 69%, 24%)
CMYKcmyk(22.6%, 69.4%, 0%, 75.7%)
CIE-LABlab(12.23, 23.36, -21.54)
CIE-LCHlch(12.23, 31.78, 317.32°)
OKLaboklab(25.34% 0.0567 -0.0605)
OKLCHoklch(25.34% 0.083 313.1)
XYZxyz(2.3211, 1.4420, 4.7126)
Luminance0.0144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30133E #213E13
analogous
#1A133E #30133E #3E1336
triadic
#30133E #3E3013 #133E30
tetradic
#30133E #3E1A13 #213E13 #13363E
square
#30133E #3E1A13 #213E13 #13363E
split-complementary
#30133E #363E13 #133E1A
monochromatic
#120717 #120717 #30133E #54216D #79309C

Accessibility & contrast

On white

16.30
#30133E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#30133E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30133E
16.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30133E#FFFFFF#000000##FFFFFF
##30133E1.0016.301.2916.30
#FFFFFF16.301.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#051E3F
Deuteranopia (green-blind)
#11213D
Tritanopia (blue-blind)
#2F1B26
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #30133e;
/* rgb */ color: rgb(48, 19, 62);
/* oklch */ color: oklch(25.3% 0.083 313.1);
Tailwind
colors: {
  custom: {
    50: '#6a5273',
    500: '#30133e',
    950: '#000000',
  },
}
SCSS
$custom: #30133e;
$custom-light: #6a5273;
$custom-dark: #000000;
JSON
{
  "hex": "#30133e",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 62
  },
  "hsl": {
    "h": 280.465,
    "s": 53.086,
    "l": 15.882
  },
  "oklch": {
    "l": 0.25342,
    "c": 0.08288,
    "h": 313.1
  },
  "luminance": 0.01442
}

Semantic roles & 50–950 ramp

primary
#30133E
secondary
#4B7736
accent
#DC4B7B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060208
muted
#7A787B

Preview Lab

Preview with #30133E

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

Preview Lab → · Contrast checker → · Palette generator →

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