#300334#300334

#300334 is a very dark, moderate purple. Relative luminance 0.009; OKLCH L 22.4% C 0.098 H 324.5°. Best body text is #FFFFFF at 17.67:1 contrast (WCAG AA passes).

Color values

HEX#300334
RGBrgb(48, 3, 52)
HSLhsl(295, 89%, 11%)
HSVhsv(295, 94%, 20%)
CMYKcmyk(7.7%, 94.2%, 0%, 79.6%)
CIE-LABlab(8.50, 29.43, -20.32)
CIE-LCHlch(8.50, 35.76, 325.38°)
OKLaboklab(22.42% 0.0795 -0.0568)
OKLCHoklch(22.42% 0.098 324.5)
XYZxyz(1.8713, 0.9416, 3.3313)
Luminance0.0094 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300334 #073403
analogous
#170334 #300334 #34031F
triadic
#300334 #343003 #033430
tetradic
#300334 #341703 #073403 #031F34
square
#300334 #341703 #073403 #031F34
split-complementary
#300334 #1F3403 #033417
monochromatic
#1B021D #1B021D #300334 #65066E #9B0AA8

Accessibility & contrast

On white

17.67
#300334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

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

Contrast matrix

fg \ bg##300334#FFFFFF#000000##FFFFFF
##3003341.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)
#001535
Deuteranopia (green-blind)
#0C1A33
Tritanopia (blue-blind)
#310C1B
Achromatopsia (no color)
#181818

Design tokens & code

CSS
--color: #300334;
/* rgb */ color: rgb(48, 3, 52);
/* oklch */ color: oklch(22.4% 0.098 324.5);
Tailwind
colors: {
  custom: {
    50: '#6b496c',
    500: '#300334',
    950: '#000000',
  },
}
SCSS
$custom: #300334;
$custom-light: #6b496c;
$custom-dark: #000000;
JSON
{
  "hex": "#300334",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 52
  },
  "hsl": {
    "h": 295.102,
    "s": 89.091,
    "l": 10.784
  },
  "oklch": {
    "l": 0.22424,
    "c": 0.09771,
    "h": 324.5
  },
  "luminance": 0.00941
}

Semantic roles & 50–950 ramp

primary
#300334
secondary
#23771C
accent
#FF293A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300334

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

Preview Lab → · Contrast checker → · Palette generator →

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