#300F37#300F37

#300F37 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.081 H 320.3°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#300F37
RGBrgb(48, 15, 55)
HSLhsl(290, 57%, 14%)
HSVhsv(290, 73%, 22%)
CMYKcmyk(12.7%, 72.7%, 0%, 78.4%)
CIE-LABlab(10.89, 23.92, -18.67)
CIE-LCHlch(10.89, 30.35, 322.03°)
OKLaboklab(24.21% 0.0626 -0.0521)
OKLCHoklch(24.21% 0.081 320.3)
XYZxyz(2.0793, 1.2460, 3.7447)
Luminance0.0125 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F37 #16370F
analogous
#1C0F37 #300F37 #370F2A
triadic
#300F37 #37300F #0F3730
tetradic
#300F37 #371C0F #16370F #0F2A37
square
#300F37 #371C0F #16370F #0F2A37
split-complementary
#300F37 #2A370F #0F371C
monochromatic
#150718 #150718 #300F37 #5A1C67 #842997

Accessibility & contrast

On white

16.81
#300F37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#300F37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F37
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F37#FFFFFF#000000##FFFFFF
##300F371.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#061B38
Deuteranopia (green-blind)
#121E36
Tritanopia (blue-blind)
#301621
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300f37;
/* rgb */ color: rgb(48, 15, 55);
/* oklch */ color: oklch(24.2% 0.081 320.3);
Tailwind
colors: {
  custom: {
    50: '#6a506e',
    500: '#300f37',
    950: '#000000',
  },
}
SCSS
$custom: #300f37;
$custom-light: #6a506e;
$custom-dark: #000000;
JSON
{
  "hex": "#300f37",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 55
  },
  "hsl": {
    "h": 289.5,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24209,
    "c": 0.08145,
    "h": 320.3
  },
  "luminance": 0.01246
}

Semantic roles & 50–950 ramp

primary
#300F37
secondary
#3C7131
accent
#E04762
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060207
muted
#7A787A

Preview Lab

Preview with #300F37

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

Preview Lab → · Contrast checker → · Palette generator →

#300F37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva