#300B3D#300B3D

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

Color values

HEX#300B3D
RGBrgb(48, 11, 61)
HSLhsl(284, 69%, 14%)
HSVhsv(284, 82%, 24%)
CMYKcmyk(21.3%, 82%, 0%, 76.1%)
CIE-LABlab(10.59, 27.46, -23.46)
CIE-LCHlch(10.59, 36.12, 319.49°)
OKLaboklab(24.14% 0.0678 -0.066)
OKLCHoklch(24.14% 0.095 315.7)
XYZxyz(2.1808, 1.2047, 4.5316)
Luminance0.0120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B3D #183D0B
analogous
#170B3D #300B3D #3D0B31
triadic
#300B3D #3D300B #0B3D30
tetradic
#300B3D #3D170B #183D0B #0B313D
square
#300B3D #3D170B #183D0B #0B313D
split-complementary
#300B3D #313D0B #0B3D17
monochromatic
#14051A #14051A #300B3D #591471 #821EA5

Accessibility & contrast

On white

16.92
#300B3D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B3D
16.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B3D#FFFFFF#000000##FFFFFF
##300B3D1.0016.921.2416.92
#FFFFFF16.921.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B3E
Deuteranopia (green-blind)
#0A1E3C
Tritanopia (blue-blind)
#2F1523
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300b3d;
/* rgb */ color: rgb(48, 11, 61);
/* oklch */ color: oklch(24.1% 0.095 315.7);
Tailwind
colors: {
  custom: {
    50: '#6b4e73',
    500: '#300b3d',
    950: '#000000',
  },
}
SCSS
$custom: #300b3d;
$custom-light: #6b4e73;
$custom-dark: #000000;
JSON
{
  "hex": "#300b3d",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 61
  },
  "hsl": {
    "h": 284.4,
    "s": 69.444,
    "l": 14.118
  },
  "oklch": {
    "l": 0.24136,
    "c": 0.09463,
    "h": 315.7
  },
  "luminance": 0.01205
}

Semantic roles & 50–950 ramp

primary
#300B3D
secondary
#3F7A2A
accent
#EC3C69
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300B3D

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

Preview Lab → · Contrast checker → · Palette generator →

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