#300E2F#300E2F

#300E2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.5% C 0.074 H 328.8°. Best body text is #FFFFFF at 17.08:1 contrast (WCAG AA passes).

Color values

HEX#300E2F
RGBrgb(48, 14, 47)
HSLhsl(302, 55%, 12%)
HSVhsv(302, 71%, 19%)
CMYKcmyk(0%, 70.8%, 2.1%, 81.2%)
CIE-LABlab(10.17, 22.65, -13.99)
CIE-LCHlch(10.17, 26.62, 328.29°)
OKLaboklab(23.51% 0.0635 -0.0385)
OKLCHoklch(23.51% 0.074 328.8)
XYZxyz(1.8890, 1.1478, 2.8108)
Luminance0.0115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300E2F #0E300F
analogous
#200E30 #300E2F #300E1E
triadic
#300E2F #2F300E #0E2F30
tetradic
#300E2F #30200E #0E300F #0E1E30
square
#300E2F #30200E #0E300F #0E1E30
split-complementary
#300E2F #1E300E #0E3020
monochromatic
#180717 #180717 #300E2F #5F1C5D #8F2A8C

Accessibility & contrast

On white

17.08
#300E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300E2F
17.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300E2F#FFFFFF#000000##FFFFFF
##300E2F1.0017.081.2317.08
#FFFFFF17.081.0021.001.00
#0000001.2321.001.0021.00
##FFFFFF17.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B1930
Deuteranopia (green-blind)
#161D2E
Tritanopia (blue-blind)
#32121C
Achromatopsia (no color)
#1C1C1C

Design tokens & code

CSS
--color: #300e2f;
/* rgb */ color: rgb(48, 14, 47);
/* oklch */ color: oklch(23.5% 0.074 328.8);
Tailwind
colors: {
  custom: {
    50: '#6a4f67',
    500: '#300e2f',
    950: '#000000',
  },
}
SCSS
$custom: #300e2f;
$custom-light: #6a4f67;
$custom-dark: #000000;
JSON
{
  "hex": "#300e2f",
  "rgb": {
    "r": 48,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 301.765,
    "s": 54.839,
    "l": 12.157
  },
  "oklch": {
    "l": 0.23512,
    "c": 0.07429,
    "h": 328.8
  },
  "luminance": 0.01148
}

Semantic roles & 50–950 ramp

primary
#300E2F
secondary
#2F6A31
accent
#DE4E4A
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060206
muted
#7A787A

Preview Lab

Preview with #300E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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