#30113C#30113C

#30113C is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 24.9% C 0.084 H 315.3°. Best body text is #FFFFFF at 16.52:1 contrast (WCAG AA passes).

Color values

HEX#30113C
RGBrgb(48, 17, 60)
HSLhsl(283, 56%, 15%)
HSVhsv(283, 72%, 24%)
CMYKcmyk(20%, 71.7%, 0%, 76.5%)
CIE-LABlab(11.66, 24.02, -21.04)
CIE-LCHlch(11.66, 31.93, 318.79°)
OKLaboklab(24.88% 0.0597 -0.059)
OKLCHoklch(24.88% 0.084 315.3)
XYZxyz(2.2349, 1.3556, 4.4180)
Luminance0.0136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30113C #1D3C11
analogous
#1B113C #30113C #3C1132
triadic
#30113C #3C3011 #113C30
tetradic
#30113C #3C1B11 #1D3C11 #11323C
square
#30113C #3C1B11 #1D3C11 #11323C
split-complementary
#30113C #323C11 #113C1B
monochromatic
#130718 #130718 #30113C #561F6C #7C2C9B

Accessibility & contrast

On white

16.52
#30113C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30113C
16.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30113C#FFFFFF#000000##FFFFFF
##30113C1.0016.521.2716.52
#FFFFFF16.521.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#041D3D
Deuteranopia (green-blind)
#10203B
Tritanopia (blue-blind)
#2F1924
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30113c;
/* rgb */ color: rgb(48, 17, 60);
/* oklch */ color: oklch(24.9% 0.084 315.3);
Tailwind
colors: {
  custom: {
    50: '#6a5172',
    500: '#30113c',
    950: '#000000',
  },
}
SCSS
$custom: #30113c;
$custom-light: #6a5172;
$custom-dark: #000000;
JSON
{
  "hex": "#30113c",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 60
  },
  "hsl": {
    "h": 283.256,
    "s": 55.844,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24878,
    "c": 0.08392,
    "h": 315.3
  },
  "luminance": 0.01356
}

Semantic roles & 50–950 ramp

primary
#30113C
secondary
#467533
accent
#DF4973
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060208
muted
#7A787B

Preview Lab

Preview with #30113C

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

Preview Lab → · Contrast checker → · Palette generator →

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