#30113E#30113E

#30113E is a dark, moderate purple. Relative luminance 0.014; OKLCH L 25.0% C 0.086 H 313.7°. Best body text is #FFFFFF at 16.47:1 contrast (WCAG AA passes).

Color values

HEX#30113E
RGBrgb(48, 17, 62)
HSLhsl(281, 57%, 15%)
HSVhsv(281, 73%, 24%)
CMYKcmyk(22.6%, 72.6%, 0%, 75.7%)
CIE-LABlab(11.80, 24.54, -22.23)
CIE-LCHlch(11.80, 33.11, 317.83°)
OKLaboklab(25.03% 0.0596 -0.0625)
OKLCHoklch(25.03% 0.086 313.7)
XYZxyz(2.2887, 1.3771, 4.7017)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30113E #1F3E11
analogous
#19113E #30113E #3E1135
triadic
#30113E #3E3011 #113E30
tetradic
#30113E #3E1911 #1F3E11 #11353E
square
#30113E #3E1911 #1F3E11 #11353E
split-complementary
#30113E #353E11 #113E19
monochromatic
#130718 #130718 #30113E #551E6E #7A2B9E

Accessibility & contrast

On white

16.47
#30113E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #30113E
16.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30113E#FFFFFF#000000##FFFFFF
##30113E1.0016.471.2816.47
#FFFFFF16.471.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021D3F
Deuteranopia (green-blind)
#0F203D
Tritanopia (blue-blind)
#2F1925
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #30113e;
/* rgb */ color: rgb(48, 17, 62);
/* oklch */ color: oklch(25.0% 0.086 313.7);
Tailwind
colors: {
  custom: {
    50: '#6a5173',
    500: '#30113e',
    950: '#000000',
  },
}
SCSS
$custom: #30113e;
$custom-light: #6a5173;
$custom-dark: #000000;
JSON
{
  "hex": "#30113e",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 62
  },
  "hsl": {
    "h": 281.333,
    "s": 56.962,
    "l": 15.49
  },
  "oklch": {
    "l": 0.2503,
    "c": 0.08638,
    "h": 313.7
  },
  "luminance": 0.01377
}

Semantic roles & 50–950 ramp

primary
#30113E
secondary
#497733
accent
#E04877
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #30113E

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

Preview Lab → · Contrast checker → · Palette generator →

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