#300B3E#300B3E

#300B3E is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.2% C 0.096 H 314.9°. Best body text is #FFFFFF at 16.89:1 contrast (WCAG AA passes).

Color values

HEX#300B3E
RGBrgb(48, 11, 62)
HSLhsl(284, 70%, 14%)
HSVhsv(284, 82%, 24%)
CMYKcmyk(22.6%, 82.3%, 0%, 75.7%)
CIE-LABlab(10.67, 27.70, -24.05)
CIE-LCHlch(10.67, 36.68, 319.04°)
OKLaboklab(24.22% 0.0676 -0.0678)
OKLCHoklch(24.22% 0.096 314.9)
XYZxyz(2.2080, 1.2156, 4.6748)
Luminance0.0122 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B3E #193E0B
analogous
#170B3E #300B3E #3E0B33
triadic
#300B3E #3E300B #0B3E30
tetradic
#300B3E #3E170B #193E0B #0B333E
square
#300B3E #3E170B #193E0B #0B333E
split-complementary
#300B3E #333E0B #0B3E17
monochromatic
#14051A #14051A #300B3E #581472 #801DA6

Accessibility & contrast

On white

16.89
#300B3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B3E
16.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B3E#FFFFFF#000000##FFFFFF
##300B3E1.0016.891.2416.89
#FFFFFF16.891.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3F
Deuteranopia (green-blind)
#091E3D
Tritanopia (blue-blind)
#2F1623
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300b3e;
/* rgb */ color: rgb(48, 11, 62);
/* oklch */ color: oklch(24.2% 0.096 314.9);
Tailwind
colors: {
  custom: {
    50: '#6b4e74',
    500: '#300b3e',
    950: '#000000',
  },
}
SCSS
$custom: #300b3e;
$custom-light: #6b4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#300b3e",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 62
  },
  "hsl": {
    "h": 283.529,
    "s": 69.863,
    "l": 14.314
  },
  "oklch": {
    "l": 0.24218,
    "c": 0.09574,
    "h": 314.9
  },
  "luminance": 0.01216
}

Semantic roles & 50–950 ramp

primary
#300B3E
secondary
#407B2A
accent
#ED3B6C
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300B3E

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

Preview Lab → · Contrast checker → · Palette generator →

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