#300E38#300E38

#300E38 is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.1% C 0.084 H 319.5°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#300E38
RGBrgb(48, 14, 56)
HSLhsl(289, 60%, 14%)
HSVhsv(289, 75%, 22%)
CMYKcmyk(14.3%, 75%, 0%, 78%)
CIE-LABlab(10.76, 24.71, -19.60)
CIE-LCHlch(10.76, 31.54, 321.58°)
OKLaboklab(24.14% 0.0641 -0.0548)
OKLCHoklch(24.14% 0.084 319.5)
XYZxyz(2.0897, 1.2281, 3.8676)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300E38 #16380E
analogous
#1B0E38 #300E38 #380E2B
triadic
#300E38 #38300E #0E3830
tetradic
#300E38 #381B0E #16380E #0E2B38
square
#300E38 #381B0E #16380E #0E2B38
split-complementary
#300E38 #2B380E #0E381B
monochromatic
#150618 #150618 #300E38 #5A1A69 #84269A

Accessibility & contrast

On white

16.86
#300E38 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#300E38 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300E38
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300E38#FFFFFF#000000##FFFFFF
##300E381.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#031B39
Deuteranopia (green-blind)
#111E37
Tritanopia (blue-blind)
#301521
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300e38;
/* rgb */ color: rgb(48, 14, 56);
/* oklch */ color: oklch(24.1% 0.084 319.5);
Tailwind
colors: {
  custom: {
    50: '#6a4f6f',
    500: '#300e38',
    950: '#000000',
  },
}
SCSS
$custom: #300e38;
$custom-light: #6a4f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#300e38",
  "rgb": {
    "r": 48,
    "g": 14,
    "b": 56
  },
  "hsl": {
    "h": 288.571,
    "s": 60,
    "l": 13.725
  },
  "oklch": {
    "l": 0.24138,
    "c": 0.08432,
    "h": 319.5
  },
  "luminance": 0.01228
}

Semantic roles & 50–950 ramp

primary
#300E38
secondary
#3C732F
accent
#E34563
background
#F6F4F6
surface
#EBE7EC
border
#C6C3C7
text
#060207
muted
#7A787A

Preview Lab

Preview with #300E38

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

Preview Lab → · Contrast checker → · Palette generator →

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