#300333#300333

#300333 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.3% C 0.097 H 325.4°. Best body text is #FFFFFF at 17.70:1 contrast (WCAG AA passes).

Color values

HEX#300333
RGBrgb(48, 3, 51)
HSLhsl(296, 89%, 11%)
HSVhsv(296, 94%, 20%)
CMYKcmyk(5.9%, 94.1%, 0%, 80%)
CIE-LABlab(8.42, 29.23, -19.71)
CIE-LCHlch(8.42, 35.25, 326.00°)
OKLaboklab(22.34% 0.0797 -0.055)
OKLCHoklch(22.34% 0.097 325.4)
XYZxyz(1.8490, 0.9326, 3.2140)
Luminance0.0093 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300333 #063303
analogous
#180333 #300333 #33031E
triadic
#300333 #333003 #033330
tetradic
#300333 #331803 #063303 #031E33
square
#300333 #331803 #063303 #031E33
split-complementary
#300333 #1E3303 #033318
monochromatic
#1B021D #1B021D #300333 #66066D #9D0AA7

Accessibility & contrast

On white

17.70
#300333 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.19
#300333 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300333
17.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300333#FFFFFF#000000##FFFFFF
##3003331.0017.701.1917.70
#FFFFFF17.701.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001534
Deuteranopia (green-blind)
#0D1A32
Tritanopia (blue-blind)
#310B1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300333;
/* rgb */ color: rgb(48, 3, 51);
/* oklch */ color: oklch(22.3% 0.097 325.4);
Tailwind
colors: {
  custom: {
    50: '#6b496b',
    500: '#300333',
    950: '#000000',
  },
}
SCSS
$custom: #300333;
$custom-light: #6b496b;
$custom-dark: #000000;
JSON
{
  "hex": "#300333",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 51
  },
  "hsl": {
    "h": 296.25,
    "s": 88.889,
    "l": 10.588
  },
  "oklch": {
    "l": 0.22344,
    "c": 0.0968,
    "h": 325.4
  },
  "luminance": 0.00933
}

Semantic roles & 50–950 ramp

primary
#300333
secondary
#21761C
accent
#FF2936
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300333

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

Preview Lab → · Contrast checker → · Palette generator →

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