#30113D#30113D

#30113D is a very dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.085 H 314.5°. Best body text is #FFFFFF at 16.49:1 contrast (WCAG AA passes).

Color values

HEX#30113D
RGBrgb(48, 17, 61)
HSLhsl(282, 56%, 15%)
HSVhsv(282, 72%, 24%)
CMYKcmyk(21.3%, 72.1%, 0%, 76.1%)
CIE-LABlab(11.73, 24.28, -21.63)
CIE-LCHlch(11.73, 32.52, 318.30°)
OKLaboklab(24.95% 0.0597 -0.0607)
OKLCHoklch(24.95% 0.085 314.5)
XYZxyz(2.2615, 1.3663, 4.5586)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30113D #1E3D11
analogous
#1A113D #30113D #3D1134
triadic
#30113D #3D3011 #113D30
tetradic
#30113D #3D1A11 #1E3D11 #11343D
square
#30113D #3D1A11 #1E3D11 #11343D
split-complementary
#30113D #343D11 #113D1A
monochromatic
#130718 #130718 #30113D #561E6D #7B2C9D

Accessibility & contrast

On white

16.49
#30113D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30113D
16.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30113D#FFFFFF#000000##FFFFFF
##30113D1.0016.491.2716.49
#FFFFFF16.491.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031D3E
Deuteranopia (green-blind)
#10203C
Tritanopia (blue-blind)
#2F1925
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30113d;
/* rgb */ color: rgb(48, 17, 61);
/* oklch */ color: oklch(25.0% 0.085 314.5);
Tailwind
colors: {
  custom: {
    50: '#6a5173',
    500: '#30113d',
    950: '#000000',
  },
}
SCSS
$custom: #30113d;
$custom-light: #6a5173;
$custom-dark: #000000;
JSON
{
  "hex": "#30113d",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 61
  },
  "hsl": {
    "h": 282.273,
    "s": 56.41,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24954,
    "c": 0.08514,
    "h": 314.5
  },
  "luminance": 0.01366
}

Semantic roles & 50–950 ramp

primary
#30113D
secondary
#477633
accent
#E04875
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070208
muted
#7A787B

Preview Lab

Preview with #30113D

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

Preview Lab → · Contrast checker → · Palette generator →

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