#30113A#30113A

#30113A is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.7% C 0.081 H 317.1°. Best body text is #FFFFFF at 16.57:1 contrast (WCAG AA passes).

Color values

HEX#30113A
RGBrgb(48, 17, 58)
HSLhsl(285, 55%, 15%)
HSVhsv(285, 71%, 23%)
CMYKcmyk(17.2%, 70.7%, 0%, 77.3%)
CIE-LABlab(11.52, 23.52, -19.84)
CIE-LCHlch(11.52, 30.77, 319.86°)
OKLaboklab(24.73% 0.0597 -0.0555)
OKLCHoklch(24.73% 0.081 317.1)
XYZxyz(2.1830, 1.3348, 4.1448)
Luminance0.0134 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30113A #1B3A11
analogous
#1C113A #30113A #3A1130
triadic
#30113A #3A3011 #113A30
tetradic
#30113A #3A1C11 #1B3A11 #11303A
square
#30113A #3A1C11 #1B3A11 #11303A
split-complementary
#30113A #303A11 #113A1C
monochromatic
#140718 #140718 #30113A #571F69 #7E2D99

Accessibility & contrast

On white

16.57
#30113A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#30113A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30113A
16.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30113A#FFFFFF#000000##FFFFFF
##30113A1.0016.571.2716.57
#FFFFFF16.571.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061D3B
Deuteranopia (green-blind)
#121F39
Tritanopia (blue-blind)
#301823
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30113a;
/* rgb */ color: rgb(48, 17, 58);
/* oklch */ color: oklch(24.7% 0.081 317.1);
Tailwind
colors: {
  custom: {
    50: '#6a5170',
    500: '#30113a',
    950: '#000000',
  },
}
SCSS
$custom: #30113a;
$custom-light: #6a5170;
$custom-dark: #000000;
JSON
{
  "hex": "#30113a",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 58
  },
  "hsl": {
    "h": 285.366,
    "s": 54.667,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24729,
    "c": 0.08148,
    "h": 317.1
  },
  "luminance": 0.01335
}

Semantic roles & 50–950 ramp

primary
#30113A
secondary
#437333
accent
#DE4A6E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #30113A

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

Preview Lab → · Contrast checker → · Palette generator →

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