#300837#300837

#300837 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.3% C 0.093 H 321.2°. Best body text is #FFFFFF at 17.28:1 contrast (WCAG AA passes).

Color values

HEX#300837
RGBrgb(48, 8, 55)
HSLhsl(291, 75%, 12%)
HSVhsv(291, 85%, 22%)
CMYKcmyk(12.7%, 85.5%, 0%, 78.4%)
CIE-LABlab(9.63, 27.48, -20.70)
CIE-LCHlch(9.63, 34.40, 323.01°)
OKLaboklab(23.3% 0.0721 -0.0579)
OKLCHoklch(23.3% 0.093 321.2)
XYZxyz(1.9953, 1.0780, 3.7167)
Luminance0.0108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300837 #0F3708
analogous
#190837 #300837 #370827
triadic
#300837 #373008 #083730
tetradic
#300837 #371908 #0F3708 #082737
square
#300837 #371908 #0F3708 #082737
split-complementary
#300837 #273708 #083719
monochromatic
#17041B #17041B #300837 #5F106C #8D18A2

Accessibility & contrast

On white

17.28
#300837 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.22
#300837 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300837
17.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300837#FFFFFF#000000##FFFFFF
##3008371.0017.281.2217.28
#FFFFFF17.281.0021.001.00
#0000001.2221.001.0021.00
##FFFFFF17.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001838
Deuteranopia (green-blind)
#0E1C36
Tritanopia (blue-blind)
#30111F
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300837;
/* rgb */ color: rgb(48, 8, 55);
/* oklch */ color: oklch(23.3% 0.093 321.2);
Tailwind
colors: {
  custom: {
    50: '#6a4c6e',
    500: '#300837',
    950: '#000000',
  },
}
SCSS
$custom: #300837;
$custom-light: #6a4c6e;
$custom-dark: #000000;
JSON
{
  "hex": "#300837",
  "rgb": {
    "r": 48,
    "g": 8,
    "b": 55
  },
  "hsl": {
    "h": 291.064,
    "s": 74.603,
    "l": 12.353
  },
  "oklch": {
    "l": 0.23298,
    "c": 0.09251,
    "h": 321.2
  },
  "luminance": 0.01078
}

Semantic roles & 50–950 ramp

primary
#300837
secondary
#317625
accent
#F13752
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300837

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

Preview Lab → · Contrast checker → · Palette generator →

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