#300D3E#300D3E

#300D3E is a very dark, moderate purple. Relative luminance 0.013; OKLCH L 24.5% C 0.093 H 314.6°. Best body text is #FFFFFF at 16.76:1 contrast (WCAG AA passes).

Color values

HEX#300D3E
RGBrgb(48, 13, 62)
HSLhsl(283, 65%, 15%)
HSVhsv(283, 79%, 24%)
CMYKcmyk(22.6%, 79%, 0%, 75.7%)
CIE-LABlab(11.02, 26.71, -23.48)
CIE-LCHlch(11.02, 35.57, 318.68°)
OKLaboklab(24.47% 0.0651 -0.0661)
OKLCHoklch(24.47% 0.093 314.6)
XYZxyz(2.2322, 1.2641, 4.6829)
Luminance0.0126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D3E #1B3E0D
analogous
#180D3E #300D3E #3E0D34
triadic
#300D3E #3E300D #0D3E30
tetradic
#300D3E #3E180D #1B3E0D #0D343E
square
#300D3E #3E180D #1B3E0D #0D343E
split-complementary
#300D3E #343E0D #0D3E18
monochromatic
#140519 #140519 #300D3E #571871 #7E22A3

Accessibility & contrast

On white

16.76
#300D3E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300D3E
16.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D3E#FFFFFF#000000##FFFFFF
##300D3E1.0016.761.2516.76
#FFFFFF16.761.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C3F
Deuteranopia (green-blind)
#0B1E3D
Tritanopia (blue-blind)
#2F1724
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300d3e;
/* rgb */ color: rgb(48, 13, 62);
/* oklch */ color: oklch(24.5% 0.093 314.6);
Tailwind
colors: {
  custom: {
    50: '#6a4f73',
    500: '#300d3e',
    950: '#000000',
  },
}
SCSS
$custom: #300d3e;
$custom-light: #6a4f73;
$custom-dark: #000000;
JSON
{
  "hex": "#300d3e",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 62
  },
  "hsl": {
    "h": 282.857,
    "s": 65.333,
    "l": 14.706
  },
  "oklch": {
    "l": 0.24468,
    "c": 0.09282,
    "h": 314.6
  },
  "luminance": 0.01264
}

Semantic roles & 50–950 ramp

primary
#300D3E
secondary
#437A2D
accent
#E84070
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070208
muted
#7A787B

Preview Lab

Preview with #300D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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