#300B38#300B38

#300B38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 23.7% C 0.089 H 320.0°. Best body text is #FFFFFF at 17.06:1 contrast (WCAG AA passes).

Color values

HEX#300B38
RGBrgb(48, 11, 56)
HSLhsl(289, 67%, 13%)
HSVhsv(289, 80%, 22%)
CMYKcmyk(14.3%, 80.4%, 0%, 78%)
CIE-LABlab(10.21, 26.26, -20.49)
CIE-LCHlch(10.21, 33.31, 322.05°)
OKLaboklab(23.74% 0.0682 -0.0573)
OKLCHoklch(23.74% 0.089 320)
XYZxyz(2.0523, 1.1533, 3.8551)
Luminance0.0115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B38 #13380B
analogous
#190B38 #300B38 #380B29
triadic
#300B38 #38300B #0B3830
tetradic
#300B38 #38190B #13380B #0B2938
square
#300B38 #38190B #13380B #0B2938
split-complementary
#300B38 #29380B #0B3819
monochromatic
#16051A #16051A #300B38 #5C156B #881F9E

Accessibility & contrast

On white

17.06
#300B38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B38
17.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B38#FFFFFF#000000##FFFFFF
##300B381.0017.061.2317.06
#FFFFFF17.061.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001939
Deuteranopia (green-blind)
#0F1D37
Tritanopia (blue-blind)
#301320
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300b38;
/* rgb */ color: rgb(48, 11, 56);
/* oklch */ color: oklch(23.7% 0.089 320.0);
Tailwind
colors: {
  custom: {
    50: '#6a4e6f',
    500: '#300b38',
    950: '#000000',
  },
}
SCSS
$custom: #300b38;
$custom-light: #6a4e6f;
$custom-dark: #000000;
JSON
{
  "hex": "#300b38",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 56
  },
  "hsl": {
    "h": 289.333,
    "s": 67.164,
    "l": 13.137
  },
  "oklch": {
    "l": 0.23739,
    "c": 0.08912,
    "h": 320
  },
  "luminance": 0.01153
}

Semantic roles & 50–950 ramp

primary
#300B38
secondary
#37752A
accent
#EA3E5C
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070107
muted
#7A777A

Preview Lab

Preview with #300B38

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

Preview Lab → · Contrast checker → · Palette generator →

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