#300537#300537

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

Color values

HEX#300537
RGBrgb(48, 5, 55)
HSLhsl(292, 83%, 12%)
HSVhsv(292, 91%, 22%)
CMYKcmyk(12.7%, 90.9%, 0%, 78.4%)
CIE-LABlab(9.10, 28.99, -21.54)
CIE-LCHlch(9.10, 36.12, 323.39°)
OKLaboklab(22.93% 0.0762 -0.0604)
OKLCHoklch(22.93% 0.097 321.6)
XYZxyz(1.9627, 1.0129, 3.7058)
Luminance0.0101 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300537 #0C3705
analogous
#170537 #300537 #370525
triadic
#300537 #373005 #053730
tetradic
#300537 #371705 #0C3705 #052537
square
#300537 #371705 #0C3705 #052537
split-complementary
#300537 #253705 #053717
monochromatic
#18031C #18031C #300537 #610A6F #920FA7

Accessibility & contrast

On white

17.46
#300537 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300537
17.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300537#FFFFFF#000000##FFFFFF
##3005371.0017.461.2017.46
#FFFFFF17.461.0021.001.00
#0000001.2021.001.0021.00
##FFFFFF17.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001738
Deuteranopia (green-blind)
#0B1B36
Tritanopia (blue-blind)
#310F1E
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #300537;
/* rgb */ color: rgb(48, 5, 55);
/* oklch */ color: oklch(22.9% 0.097 321.6);
Tailwind
colors: {
  custom: {
    50: '#6b4b6e',
    500: '#300537',
    950: '#000000',
  },
}
SCSS
$custom: #300537;
$custom-light: #6b4b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#300537",
  "rgb": {
    "r": 48,
    "g": 5,
    "b": 55
  },
  "hsl": {
    "h": 291.6,
    "s": 83.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.22925,
    "c": 0.09722,
    "h": 321.6
  },
  "luminance": 0.01013
}

Semantic roles & 50–950 ramp

primary
#300537
secondary
#2C7820
accent
#FA2E4B
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300537

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

Preview Lab → · Contrast checker → · Palette generator →

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