#300844#300844

#300844 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.4% C 0.106 H 311.1°. Best body text is #FFFFFF at 16.88:1 contrast (WCAG AA passes).

Color values

HEX#300844
RGBrgb(48, 8, 68)
HSLhsl(280, 79%, 15%)
HSVhsv(280, 88%, 27%)
CMYKcmyk(29.4%, 88.2%, 0%, 73.3%)
CIE-LABlab(10.70, 30.55, -28.25)
CIE-LCHlch(10.70, 41.61, 317.24°)
OKLaboklab(24.4% 0.0698 -0.0801)
OKLCHoklch(24.4% 0.106 311.1)
XYZxyz(2.3489, 1.2195, 5.5794)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300844 #1C4408
analogous
#120844 #300844 #44083A
triadic
#300844 #443008 #084430
tetradic
#300844 #441208 #1C4408 #083A44
square
#300844 #441208 #1C4408 #083A44
split-complementary
#300844 #3A4408 #084412
monochromatic
#13031B #13031B #300844 #570E7B #7D15B2

Accessibility & contrast

On white

16.88
#300844 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#300844 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300844
16.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300844#FFFFFF#000000##FFFFFF
##3008441.0016.881.2416.88
#FFFFFF16.881.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B46
Deuteranopia (green-blind)
#001E43
Tritanopia (blue-blind)
#2D1726
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300844;
/* rgb */ color: rgb(48, 8, 68);
/* oklch */ color: oklch(24.4% 0.106 311.1);
Tailwind
colors: {
  custom: {
    50: '#6b4d78',
    500: '#300844',
    950: '#000000',
  },
}
SCSS
$custom: #300844;
$custom-light: #6b4d78;
$custom-dark: #000000;
JSON
{
  "hex": "#300844",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 68
  },
  "hsl": {
    "h": 280,
    "s": 78.947,
    "l": 14.902
  },
  "oklch": {
    "l": 0.24398,
    "c": 0.10626,
    "h": 311.1
  },
  "luminance": 0.01219
}

Semantic roles & 50–950 ramp

primary
#300844
secondary
#448226
accent
#F53273
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070109
muted
#7A777B

Preview Lab

Preview with #300844

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

Preview Lab → · Contrast checker → · Palette generator →

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