#300D38#300D38

#300D38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.0% C 0.086 H 319.7°. Best body text is #FFFFFF at 16.93:1 contrast (WCAG AA passes).

Color values

HEX#300D38
RGBrgb(48, 13, 56)
HSLhsl(289, 62%, 14%)
HSVhsv(289, 77%, 22%)
CMYKcmyk(14.3%, 76.8%, 0%, 78%)
CIE-LABlab(10.57, 25.25, -19.91)
CIE-LCHlch(10.57, 32.15, 321.75°)
OKLaboklab(24% 0.0655 -0.0557)
OKLCHoklch(24% 0.086 319.7)
XYZxyz(2.0766, 1.2018, 3.8632)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D38 #15380D
analogous
#1A0D38 #300D38 #380D2A
triadic
#300D38 #38300D #0D3830
tetradic
#300D38 #381A0D #15380D #0D2A38
square
#300D38 #381A0D #15380D #0D2A38
split-complementary
#300D38 #2A380D #0D381A
monochromatic
#150619 #150619 #300D38 #5B196A #85249B

Accessibility & contrast

On white

16.93
#300D38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#300D38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D38
16.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D38#FFFFFF#000000##FFFFFF
##300D381.0016.931.2416.93
#FFFFFF16.931.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#021A39
Deuteranopia (green-blind)
#101E37
Tritanopia (blue-blind)
#301521
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300d38;
/* rgb */ color: rgb(48, 13, 56);
/* oklch */ color: oklch(24.0% 0.086 319.7);
Tailwind
colors: {
  custom: {
    50: '#6a4f6f',
    500: '#300d38',
    950: '#000000',
  },
}
SCSS
$custom: #300d38;
$custom-light: #6a4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#300d38",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 56
  },
  "hsl": {
    "h": 288.837,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.23999,
    "c": 0.08597,
    "h": 319.7
  },
  "luminance": 0.01202
}

Semantic roles & 50–950 ramp

primary
#300D38
secondary
#3A732D
accent
#E54261
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#070207
muted
#7A787A

Preview Lab

Preview with #300D38

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

Preview Lab → · Contrast checker → · Palette generator →

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