#30032F#30032F

#30032F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.0% C 0.093 H 329.2°. Best body text is #FFFFFF at 17.80:1 contrast (WCAG AA passes).

Color values

HEX#30032F
RGBrgb(48, 3, 47)
HSLhsl(301, 88%, 10%)
HSVhsv(301, 94%, 19%)
CMYKcmyk(0%, 93.8%, 2.1%, 81.2%)
CIE-LABlab(8.12, 28.43, -17.23)
CIE-LCHlch(8.12, 33.25, 328.78°)
OKLaboklab(22.04% 0.08 -0.0478)
OKLCHoklch(22.04% 0.093 329.2)
XYZxyz(1.7646, 0.8989, 2.7693)
Luminance0.0090 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30032F #033004
analogous
#1A0330 #30032F #300319
triadic
#30032F #2F3003 #032F30
tetradic
#30032F #301A03 #033004 #031930
square
#30032F #301A03 #033004 #031930
split-complementary
#30032F #193003 #03301A
monochromatic
#1D021C #1D021C #30032F #6A0767 #A30AA0

Accessibility & contrast

On white

17.80
#30032F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.18
#30032F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30032F
17.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30032F#FFFFFF#000000##FFFFFF
##30032F1.0017.801.1817.80
#FFFFFF17.801.0021.001.00
#0000001.1821.001.0021.00
##FFFFFF17.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001430
Deuteranopia (green-blind)
#101A2E
Tritanopia (blue-blind)
#320918
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30032f;
/* rgb */ color: rgb(48, 3, 47);
/* oklch */ color: oklch(22.0% 0.093 329.2);
Tailwind
colors: {
  custom: {
    50: '#6b4967',
    500: '#30032f',
    950: '#000000',
  },
}
SCSS
$custom: #30032f;
$custom-light: #6b4967;
$custom-dark: #000000;
JSON
{
  "hex": "#30032f",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 47
  },
  "hsl": {
    "h": 301.333,
    "s": 88.235,
    "l": 10
  },
  "oklch": {
    "l": 0.22038,
    "c": 0.09318,
    "h": 329.2
  },
  "luminance": 0.00899
}

Semantic roles & 50–950 ramp

primary
#30032F
secondary
#1B731D
accent
#FE2E29
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30032F

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

Preview Lab → · Contrast checker → · Palette generator →

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