#30112E#30112E

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

Color values

HEX#30112E
RGBrgb(48, 17, 46)
HSLhsl(304, 48%, 13%)
HSVhsv(304, 65%, 19%)
CMYKcmyk(0%, 64.6%, 4.2%, 81.2%)
CIE-LABlab(10.75, 20.68, -12.34)
CIE-LCHlch(10.75, 24.08, 329.17°)
OKLaboklab(23.92% 0.0584 -0.0338)
OKLCHoklch(23.92% 0.067 329.9)
XYZxyz(1.9125, 1.2267, 2.7203)
Luminance0.0123 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30112E #113013
analogous
#221130 #30112E #30111E
triadic
#30112E #2E3011 #112E30
tetradic
#30112E #302211 #113013 #111E30
square
#30112E #302211 #113013 #111E30
split-complementary
#30112E #1E3011 #113022
monochromatic
#170816 #170816 #30112E #5D2159 #8A3185

Accessibility & contrast

On white

16.86
#30112E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#30112E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30112E
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30112E#FFFFFF#000000##FFFFFF
##30112E1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F1A2F
Deuteranopia (green-blind)
#191F2D
Tritanopia (blue-blind)
#32141D
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #30112e;
/* rgb */ color: rgb(48, 17, 46);
/* oklch */ color: oklch(23.9% 0.067 329.9);
Tailwind
colors: {
  custom: {
    50: '#695166',
    500: '#30112e',
    950: '#000000',
  },
}
SCSS
$custom: #30112e;
$custom-light: #695166;
$custom-dark: #000000;
JSON
{
  "hex": "#30112e",
  "rgb": {
    "r": 48,
    "g": 17,
    "b": 46
  },
  "hsl": {
    "h": 303.871,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.23922,
    "c": 0.06747,
    "h": 329.9
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#30112E
secondary
#346938
accent
#D75951
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #30112E

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

Preview Lab → · Contrast checker → · Palette generator →

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