#300335#300335

#300335 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.5% C 0.099 H 323.6°. Best body text is #FFFFFF at 17.64:1 contrast (WCAG AA passes).

Color values

HEX#300335
RGBrgb(48, 3, 53)
HSLhsl(294, 89%, 11%)
HSVhsv(294, 94%, 21%)
CMYKcmyk(9.4%, 94.3%, 0%, 79.2%)
CIE-LABlab(8.57, 29.63, -20.93)
CIE-LCHlch(8.57, 36.28, 324.77°)
OKLaboklab(22.5% 0.0794 -0.0585)
OKLCHoklch(22.5% 0.099 323.6)
XYZxyz(1.8940, 0.9507, 3.4512)
Luminance0.0095 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300335 #083503
analogous
#170335 #300335 #350321
triadic
#300335 #353003 #033530
tetradic
#300335 #351703 #083503 #032135
square
#300335 #351703 #083503 #032135
split-complementary
#300335 #213503 #033517
monochromatic
#1A021D #1A021D #300335 #64066F #990AA9

Accessibility & contrast

On white

17.64
#300335 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300335
17.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300335#FFFFFF#000000##FFFFFF
##3003351.0017.641.1917.64
#FFFFFF17.641.0021.001.00
#0000001.1921.001.0021.00
##FFFFFF17.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001536
Deuteranopia (green-blind)
#0C1A34
Tritanopia (blue-blind)
#310C1C
Achromatopsia (no color)
#191919

Design tokens & code

CSS
--color: #300335;
/* rgb */ color: rgb(48, 3, 53);
/* oklch */ color: oklch(22.5% 0.099 323.6);
Tailwind
colors: {
  custom: {
    50: '#6b496c',
    500: '#300335',
    950: '#000000',
  },
}
SCSS
$custom: #300335;
$custom-light: #6b496c;
$custom-dark: #000000;
JSON
{
  "hex": "#300335",
  "rgb": {
    "r": 48,
    "g": 3,
    "b": 53
  },
  "hsl": {
    "h": 294,
    "s": 89.286,
    "l": 10.98
  },
  "oklch": {
    "l": 0.22504,
    "c": 0.09863,
    "h": 323.6
  },
  "luminance": 0.00951
}

Semantic roles & 50–950 ramp

primary
#300335
secondary
#25781C
accent
#FF293E
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070107
muted
#7A777A

Preview Lab

Preview with #300335

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

Preview Lab → · Contrast checker → · Palette generator →

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