#30052F#30052F

#30052F is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.090 H 329.1°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#30052F
RGBrgb(48, 5, 47)
HSLhsl(301, 81%, 10%)
HSVhsv(301, 90%, 19%)
CMYKcmyk(0%, 89.6%, 2.1%, 81.2%)
CIE-LABlab(8.50, 27.33, -16.62)
CIE-LCHlch(8.50, 31.99, 328.69°)
OKLaboklab(22.31% 0.0769 -0.046)
OKLCHoklch(22.31% 0.09 329.1)
XYZxyz(1.7863, 0.9423, 2.7766)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#30052F #053006
analogous
#1B0530 #30052F #300519
triadic
#30052F #2F3005 #052F30
tetradic
#30052F #301B05 #053006 #051930
square
#30052F #301B05 #053006 #051930
split-complementary
#30052F #193005 #05301B
monochromatic
#1C031B #1C031B #30052F #670B65 #9F119C

Accessibility & contrast

On white

17.67
#30052F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#30052F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #30052F
17.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##30052F#FFFFFF#000000##FFFFFF
##30052F1.0017.671.1917.67
#FFFFFF17.671.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011530
Deuteranopia (green-blind)
#111B2E
Tritanopia (blue-blind)
#320B19
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #30052f;
/* rgb */ color: rgb(48, 5, 47);
/* oklch */ color: oklch(22.3% 0.090 329.1);
Tailwind
colors: {
  custom: {
    50: '#6a4a67',
    500: '#30052f',
    950: '#000000',
  },
}
SCSS
$custom: #30052f;
$custom-light: #6a4a67;
$custom-dark: #000000;
JSON
{
  "hex": "#30052f",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 47
  },
  "hsl": {
    "h": 301.395,
    "s": 81.132,
    "l": 10.392
  },
  "oklch": {
    "l": 0.2231,
    "c": 0.08958,
    "h": 329.1
  },
  "luminance": 0.00942
}

Semantic roles & 50–950 ramp

primary
#30052F
secondary
#1F7221
accent
#F83530
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #30052F

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

Preview Lab → · Contrast checker → · Palette generator →

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