#300B3F#300B3F

#300B3F is a very dark, moderate purple. Relative luminance 0.012; OKLCH L 24.3% C 0.097 H 314.2°. Best body text is #FFFFFF at 16.86:1 contrast (WCAG AA passes).

Color values

HEX#300B3F
RGBrgb(48, 11, 63)
HSLhsl(283, 70%, 15%)
HSVhsv(283, 83%, 25%)
CMYKcmyk(23.8%, 82.5%, 0%, 75.3%)
CIE-LABlab(10.75, 27.94, -24.63)
CIE-LCHlch(10.75, 37.25, 318.61°)
OKLaboklab(24.3% 0.0675 -0.0695)
OKLCHoklch(24.3% 0.097 314.2)
XYZxyz(2.2356, 1.2267, 4.8207)
Luminance0.0123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B3F #1A3F0B
analogous
#160B3F #300B3F #3F0B34
triadic
#300B3F #3F300B #0B3F30
tetradic
#300B3F #3F160B #1A3F0B #0B343F
square
#300B3F #3F160B #1A3F0B #0B343F
split-complementary
#300B3F #343F0B #0B3F16
monochromatic
#14051A #14051A #300B3F #581473 #7F1DA7

Accessibility & contrast

On white

16.86
#300B3F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#300B3F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B3F
16.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B3F#FFFFFF#000000##FFFFFF
##300B3F1.0016.861.2516.86
#FFFFFF16.861.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B40
Deuteranopia (green-blind)
#081E3E
Tritanopia (blue-blind)
#2F1624
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300b3f;
/* rgb */ color: rgb(48, 11, 63);
/* oklch */ color: oklch(24.3% 0.097 314.2);
Tailwind
colors: {
  custom: {
    50: '#6b4e74',
    500: '#300b3f',
    950: '#000000',
  },
}
SCSS
$custom: #300b3f;
$custom-light: #6b4e74;
$custom-dark: #000000;
JSON
{
  "hex": "#300b3f",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 63
  },
  "hsl": {
    "h": 282.692,
    "s": 70.27,
    "l": 14.51
  },
  "oklch": {
    "l": 0.24301,
    "c": 0.09686,
    "h": 314.2
  },
  "luminance": 0.01227
}

Semantic roles & 50–950 ramp

primary
#300B3F
secondary
#427C2A
accent
#ED3B6E
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300B3F

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

Preview Lab → · Contrast checker → · Palette generator →

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