#30113F#30113F

#30113F is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.1% C 0.088 H 312.9°. Best body text is #FFFFFF at 16.44:1 contrast (WCAG AA passes).

Color values

HEX#30113F
RGBrgb(48, 17, 63)
HSLhsl(280, 58%, 16%)
HSVhsv(280, 73%, 25%)
CMYKcmyk(23.8%, 73%, 0%, 75.3%)
CIE-LABlab(11.88, 24.80, -22.82)
CIE-LCHlch(11.88, 33.70, 317.38°)
OKLaboklab(25.11% 0.0596 -0.0642)
OKLCHoklch(25.11% 0.088 312.9)
XYZxyz(2.3164, 1.3882, 4.8476)
Luminance0.0139 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30113F #203F11
analogous
#19113F #30113F #3F1137
triadic
#30113F #3F3011 #113F30
tetradic
#30113F #3F1911 #203F11 #11373F
square
#30113F #3F1911 #203F11 #11373F
split-complementary
#30113F #373F11 #113F19
monochromatic
#120718 #120718 #30113F #551E6F #792B9F

Accessibility & contrast

On white

16.44
#30113F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#30113F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30113F
16.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30113F#FFFFFF#000000##FFFFFF
##30113F1.0016.441.2816.44
#FFFFFF16.441.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011E40
Deuteranopia (green-blind)
#0E203E
Tritanopia (blue-blind)
#2E1A26
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30113f;
/* rgb */ color: rgb(48, 17, 63);
/* oklch */ color: oklch(25.1% 0.088 312.9);
Tailwind
colors: {
  custom: {
    50: '#6a5174',
    500: '#30113f',
    950: '#000000',
  },
}
SCSS
$custom: #30113f;
$custom-light: #6a5174;
$custom-dark: #000000;
JSON
{
  "hex": "#30113f",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 63
  },
  "hsl": {
    "h": 280.435,
    "s": 57.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.25108,
    "c": 0.08761,
    "h": 312.9
  },
  "luminance": 0.01388
}

Semantic roles & 50–950 ramp

primary
#30113F
secondary
#4A7833
accent
#E14779
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #30113F

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

Preview Lab → · Contrast checker → · Palette generator →

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