#30112D#30112D

#30112D is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.066 H 331.2°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#30112D
RGBrgb(48, 17, 45)
HSLhsl(306, 48%, 13%)
HSVhsv(306, 65%, 19%)
CMYKcmyk(0%, 64.6%, 6.2%, 81.2%)
CIE-LABlab(10.70, 20.46, -11.70)
CIE-LCHlch(10.70, 23.57, 330.25°)
OKLaboklab(23.86% 0.0582 -0.0319)
OKLCHoklch(23.86% 0.066 331.2)
XYZxyz(1.8930, 1.2189, 2.6177)
Luminance0.0122 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30112D #113014
analogous
#231130 #30112D #30111E
triadic
#30112D #2D3011 #112D30
tetradic
#30112D #302311 #113014 #111E30
square
#30112D #302311 #113014 #111E30
split-complementary
#30112D #1E3011 #113023
monochromatic
#170815 #170815 #30112D #5D2157 #8A3182

Accessibility & contrast

On white

16.88
#30112D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#30112D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30112D
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30112D#FFFFFF#000000##FFFFFF
##30112D1.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#101A2E
Deuteranopia (green-blind)
#191E2C
Tritanopia (blue-blind)
#32141D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30112d;
/* rgb */ color: rgb(48, 17, 45);
/* oklch */ color: oklch(23.9% 0.066 331.2);
Tailwind
colors: {
  custom: {
    50: '#695166',
    500: '#30112d',
    950: '#000000',
  },
}
SCSS
$custom: #30112d;
$custom-light: #695166;
$custom-dark: #000000;
JSON
{
  "hex": "#30112d",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 45
  },
  "hsl": {
    "h": 305.806,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23862,
    "c": 0.06639,
    "h": 331.2
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#30112D
secondary
#346939
accent
#D75E51
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060205
muted
#7A787A

Preview Lab

Preview with #30112D

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

Preview Lab → · Contrast checker → · Palette generator →

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