#300733#300733

#300733 is a very dark, moderate purple. Relative luminance 0.010; OKLCH L 22.9% C 0.090 H 325.0°. Best body text is #FFFFFF at 17.44:1 contrast (WCAG AA passes).

Color values

HEX#300733
RGBrgb(48, 7, 51)
HSLhsl(296, 76%, 11%)
HSVhsv(296, 86%, 20%)
CMYKcmyk(5.9%, 86.3%, 0%, 80%)
CIE-LABlab(9.15, 27.10, -18.54)
CIE-LCHlch(9.15, 32.83, 325.63°)
OKLaboklab(22.87% 0.0738 -0.0516)
OKLCHoklch(22.87% 0.09 325)
XYZxyz(1.8924, 1.0195, 3.2284)
Luminance0.0102 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300733 #0A3307
analogous
#1A0733 #300733 #330720
triadic
#300733 #333007 #073330
tetradic
#300733 #331A07 #0A3307 #072033
square
#300733 #331A07 #0A3307 #072033
split-complementary
#300733 #203307 #07331A
monochromatic
#19041B #19041B #300733 #630E69 #95169F

Accessibility & contrast

On white

17.44
#300733 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.20
#300733 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300733
17.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300733#FFFFFF#000000##FFFFFF
##3007331.0017.441.2017.44
#FFFFFF17.441.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001734
Deuteranopia (green-blind)
#101B32
Tritanopia (blue-blind)
#310E1C
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300733;
/* rgb */ color: rgb(48, 7, 51);
/* oklch */ color: oklch(22.9% 0.090 325.0);
Tailwind
colors: {
  custom: {
    50: '#6a4b6b',
    500: '#300733',
    950: '#000000',
  },
}
SCSS
$custom: #300733;
$custom-light: #6a4b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#300733",
  "rgb": {
    "r": 48,
    "g": 7,
    "b": 51
  },
  "hsl": {
    "h": 295.909,
    "s": 75.862,
    "l": 11.373
  },
  "oklch": {
    "l": 0.22866,
    "c": 0.09003,
    "h": 325
  },
  "luminance": 0.01019
}

Semantic roles & 50–950 ramp

primary
#300733
secondary
#297323
accent
#F23542
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#070106
muted
#7A777A

Preview Lab

Preview with #300733

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

Preview Lab → · Contrast checker → · Palette generator →

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