#300B2E#300B2E

#300B2E is a very dark, moderate purple. Relative luminance 0.011; OKLCH L 23.0% C 0.079 H 330.0°. Best body text is #FFFFFF at 17.31:1 contrast (WCAG AA passes).

Color values

HEX#300B2E
RGBrgb(48, 11, 46)
HSLhsl(303, 63%, 12%)
HSVhsv(303, 77%, 19%)
CMYKcmyk(0%, 77.1%, 4.2%, 81.2%)
CIE-LABlab(9.52, 24.04, -14.27)
CIE-LCHlch(9.52, 27.96, 329.31°)
OKLaboklab(23.02% 0.068 -0.0393)
OKLCHoklch(23.02% 0.079 330)
XYZxyz(1.8317, 1.0651, 2.6933)
Luminance0.0106 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B2E #0B300D
analogous
#200B30 #300B2E #300B1C
triadic
#300B2E #2E300B #0B2E30
tetradic
#300B2E #30200B #0B300D #0B1C30
square
#300B2E #30200B #0B300D #0B1C30
split-complementary
#300B2E #1C300B #0B3020
monochromatic
#190618 #190618 #300B2E #62165E #94228D

Accessibility & contrast

On white

17.31
#300B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B2E
17.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B2E#FFFFFF#000000##FFFFFF
##300B2E1.0017.311.2117.31
#FFFFFF17.311.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#08172F
Deuteranopia (green-blind)
#151C2D
Tritanopia (blue-blind)
#320F1B
Achromatopsia (no color)
#1B1B1B

Design tokens & code

CSS
--color: #300b2e;
/* rgb */ color: rgb(48, 11, 46);
/* oklch */ color: oklch(23.0% 0.079 330.0);
Tailwind
colors: {
  custom: {
    50: '#6a4d67',
    500: '#300b2e',
    950: '#000000',
  },
}
SCSS
$custom: #300b2e;
$custom-light: #6a4d67;
$custom-dark: #000000;
JSON
{
  "hex": "#300b2e",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 46
  },
  "hsl": {
    "h": 303.243,
    "s": 62.712,
    "l": 11.569
  },
  "oklch": {
    "l": 0.23023,
    "c": 0.07853,
    "h": 330
  },
  "luminance": 0.01065
}

Semantic roles & 50–950 ramp

primary
#300B2E
secondary
#2A6D2E
accent
#E64B42
background
#F6F4F6
surface
#EBE7EB
border
#C6C3C6
text
#060106
muted
#7A777A

Preview Lab

Preview with #300B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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