#300B2F#300B2F

#300B2F is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.1% C 0.080 H 328.9°. Best body text is #FFFFFF at 17.29:1 contrast (WCAG AA passes).

Color values

HEX#300B2F
RGBrgb(48, 11, 47)
HSLhsl(302, 63%, 12%)
HSVhsv(302, 77%, 19%)
CMYKcmyk(0%, 77.1%, 2.1%, 81.2%)
CIE-LABlab(9.59, 24.25, -14.91)
CIE-LCHlch(9.59, 28.47, 328.42°)
OKLaboklab(23.09% 0.0681 -0.0411)
OKLCHoklch(23.09% 0.08 328.9)
XYZxyz(1.8517, 1.0731, 2.7984)
Luminance0.0107 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B2F #0B300C
analogous
#1F0B30 #300B2F #300B1D
triadic
#300B2F #2F300B #0B2F30
tetradic
#300B2F #301F0B #0B300C #0B1D30
square
#300B2F #301F0B #0B300C #0B1D30
split-complementary
#300B2F #1D300B #0B301F
monochromatic
#190618 #190618 #300B2F #621660 #942291

Accessibility & contrast

On white

17.29
#300B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#300B2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B2F
17.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B2F#FFFFFF#000000##FFFFFF
##300B2F1.0017.291.2117.29
#FFFFFF17.291.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#071730
Deuteranopia (green-blind)
#151C2E
Tritanopia (blue-blind)
#32101B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300b2f;
/* rgb */ color: rgb(48, 11, 47);
/* oklch */ color: oklch(23.1% 0.080 328.9);
Tailwind
colors: {
  custom: {
    50: '#6a4d67',
    500: '#300b2f',
    950: '#000000',
  },
}
SCSS
$custom: #300b2f;
$custom-light: #6a4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#300b2f",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 47
  },
  "hsl": {
    "h": 301.622,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.2309,
    "c": 0.07955,
    "h": 328.9
  },
  "luminance": 0.01073
}

Semantic roles & 50–950 ramp

primary
#300B2F
secondary
#2A6D2C
accent
#E64642
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #300B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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