#300F33#300F33

#300F33 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.9% C 0.077 H 324.3°. Best body text is #FFFFFF at 16.91:1 contrast (WCAG AA passes).

Color values

HEX#300F33
RGBrgb(48, 15, 51)
HSLhsl(295, 55%, 13%)
HSVhsv(295, 71%, 20%)
CMYKcmyk(5.9%, 70.6%, 0%, 80%)
CIE-LABlab(10.63, 22.98, -16.20)
CIE-LCHlch(10.63, 28.12, 324.82°)
OKLaboklab(23.93% 0.0624 -0.0449)
OKLCHoklch(23.93% 0.077 324.3)
XYZxyz(1.9872, 1.2092, 3.2600)
Luminance0.0121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300F33 #12330F
analogous
#1E0F33 #300F33 #330F24
triadic
#300F33 #33300F #0F3330
tetradic
#300F33 #331E0F #12330F #0F2433
square
#300F33 #331E0F #12330F #0F2433
split-complementary
#300F33 #24330F #0F331E
monochromatic
#160718 #160718 #300F33 #5D1D62 #892B92

Accessibility & contrast

On white

16.91
#300F33 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#300F33 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300F33
16.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300F33#FFFFFF#000000##FFFFFF
##300F331.0016.911.2416.91
#FFFFFF16.911.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#091A34
Deuteranopia (green-blind)
#151E32
Tritanopia (blue-blind)
#31141F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300f33;
/* rgb */ color: rgb(48, 15, 51);
/* oklch */ color: oklch(23.9% 0.077 324.3);
Tailwind
colors: {
  custom: {
    50: '#6a506b',
    500: '#300f33',
    950: '#000000',
  },
}
SCSS
$custom: #300f33;
$custom-light: #6a506b;
$custom-dark: #000000;
JSON
{
  "hex": "#300f33",
  "rgb": {
    "r": 48,
    "g": 15,
    "b": 51
  },
  "hsl": {
    "h": 295,
    "s": 54.545,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23928,
    "c": 0.07687,
    "h": 324.3
  },
  "luminance": 0.01209
}

Semantic roles & 50–950 ramp

primary
#300F33
secondary
#366D31
accent
#DE4A56
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #300F33

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

Preview Lab → · Contrast checker → · Palette generator →

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