#300B49#300B49

#300B49 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.2% C 0.108 H 307.3°. Best body text is #FFFFFF at 16.54:1 contrast (WCAG AA passes).

Color values

HEX#300B49
RGBrgb(48, 11, 73)
HSLhsl(276, 74%, 16%)
HSVhsv(276, 85%, 29%)
CMYKcmyk(34.2%, 84.9%, 0%, 71.4%)
CIE-LABlab(11.61, 30.48, -30.27)
CIE-LCHlch(11.61, 42.96, 315.20°)
OKLaboklab(25.18% 0.0654 -0.086)
OKLCHoklch(25.18% 0.108 307.3)
XYZxyz(2.5409, 1.3488, 6.4285)
Luminance0.0135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B49 #24490B
analogous
#110B49 #300B49 #490B43
triadic
#300B49 #49300B #0B4930
tetradic
#300B49 #49110B #24490B #0B4349
square
#300B49 #49110B #24490B #0B4349
split-complementary
#300B49 #43490B #0B4911
monochromatic
#11041B #11041B #300B49 #53137E #761BB3

Accessibility & contrast

On white

16.54
#300B49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#300B49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B49
16.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B49#FFFFFF#000000##FFFFFF
##300B491.0016.541.2716.54
#FFFFFF16.541.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#2C1A2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #300b49;
/* rgb */ color: rgb(48, 11, 73);
/* oklch */ color: oklch(25.2% 0.108 307.3);
Tailwind
colors: {
  custom: {
    50: '#6c4f7c',
    500: '#300b49',
    950: '#000000',
  },
}
SCSS
$custom: #300b49;
$custom-light: #6c4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#300b49",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 73
  },
  "hsl": {
    "h": 275.806,
    "s": 73.81,
    "l": 16.471
  },
  "oklch": {
    "l": 0.25179,
    "c": 0.10811,
    "h": 307.3
  },
  "luminance": 0.01349
}

Semantic roles & 50–950 ramp

primary
#300B49
secondary
#4F852A
accent
#F03782
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #300B49

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

Preview Lab → · Contrast checker → · Palette generator →

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