#300B37#300B37

#300B37 is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.7% C 0.088 H 320.9°. Best body text is #FFFFFF at 17.09:1 contrast (WCAG AA passes).

Color values

HEX#300B37
RGBrgb(48, 11, 55)
HSLhsl(290, 67%, 13%)
HSVhsv(290, 80%, 22%)
CMYKcmyk(12.7%, 80%, 0%, 78.4%)
CIE-LABlab(10.14, 26.03, -19.88)
CIE-LCHlch(10.14, 32.75, 322.63°)
OKLaboklab(23.66% 0.0683 -0.0556)
OKLCHoklch(23.66% 0.088 320.9)
XYZxyz(2.0281, 1.1437, 3.7276)
Luminance0.0114 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B37 #12370B
analogous
#1A0B37 #300B37 #370B28
triadic
#300B37 #37300B #0B3730
tetradic
#300B37 #371A0B #12370B #0B2837
square
#300B37 #371A0B #12370B #0B2837
split-complementary
#300B37 #28370B #0B371A
monochromatic
#16051A #16051A #300B37 #5D156A #891F9D

Accessibility & contrast

On white

17.09
#300B37 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.23
#300B37 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B37
17.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B37#FFFFFF#000000##FFFFFF
##300B371.0017.091.2317.09
#FFFFFF17.091.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#011938
Deuteranopia (green-blind)
#101D36
Tritanopia (blue-blind)
#30131F
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300b37;
/* rgb */ color: rgb(48, 11, 55);
/* oklch */ color: oklch(23.7% 0.088 320.9);
Tailwind
colors: {
  custom: {
    50: '#6a4e6e',
    500: '#300b37',
    950: '#000000',
  },
}
SCSS
$custom: #300b37;
$custom-light: #6a4e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#300b37",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 55
  },
  "hsl": {
    "h": 290.455,
    "s": 66.667,
    "l": 12.941
  },
  "oklch": {
    "l": 0.23663,
    "c": 0.08803,
    "h": 320.9
  },
  "luminance": 0.01144
}

Semantic roles & 50–950 ramp

primary
#300B37
secondary
#36742A
accent
#EA3E59
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300B37

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

Preview Lab → · Contrast checker → · Palette generator →

#300B37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva