#300439#300439

#300439 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 23.0% C 0.101 H 320.1°. Best body text is #FFFFFF at 17.47:1 contrast (WCAG AA passes).

Color values

HEX#300439
RGBrgb(48, 4, 57)
HSLhsl(290, 87%, 12%)
HSVhsv(290, 93%, 22%)
CMYKcmyk(15.8%, 93%, 0%, 77.6%)
CIE-LABlab(9.08, 29.95, -23.02)
CIE-LCHlch(9.08, 37.78, 322.45°)
OKLaboklab(22.96% 0.0773 -0.0647)
OKLCHoklch(22.96% 0.101 320.1)
XYZxyz(2.0008, 1.0107, 3.9598)
Luminance0.0101 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300439 #0D3904
analogous
#160439 #300439 #390428
triadic
#300439 #393004 #043930
tetradic
#300439 #391604 #0D3904 #042839
square
#300439 #391604 #0D3904 #042839
split-complementary
#300439 #283904 #043916
monochromatic
#18021D #18021D #300439 #600872 #900CAB

Accessibility & contrast

On white

17.47
#300439 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300439 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300439
17.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300439#FFFFFF#000000##FFFFFF
##3004391.0017.471.2017.47
#FFFFFF17.471.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00173A
Deuteranopia (green-blind)
#081B38
Tritanopia (blue-blind)
#300F1F
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300439;
/* rgb */ color: rgb(48, 4, 57);
/* oklch */ color: oklch(23.0% 0.101 320.1);
Tailwind
colors: {
  custom: {
    50: '#6b4a70',
    500: '#300439',
    950: '#000000',
  },
}
SCSS
$custom: #300439;
$custom-light: #6b4a70;
$custom-dark: #000000;
JSON
{
  "hex": "#300439",
  "rgb": {
    "r": 48,
    "g": 4,
    "b": 57
  },
  "hsl": {
    "h": 289.811,
    "s": 86.885,
    "l": 11.961
  },
  "oklch": {
    "l": 0.22964,
    "c": 0.10076,
    "h": 320.1
  },
  "luminance": 0.01011
}

Semantic roles & 50–950 ramp

primary
#300439
secondary
#2E7B1E
accent
#FD2B4E
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300439

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

Preview Lab → · Contrast checker → · Palette generator →

#300439 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva