#300B43#300B43

#300B43 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.6% C 0.101 H 311.2°. Best body text is #FFFFFF at 16.74:1 contrast (WCAG AA passes).

Color values

HEX#300B43
RGBrgb(48, 11, 67)
HSLhsl(280, 72%, 15%)
HSVhsv(280, 84%, 26%)
CMYKcmyk(28.4%, 83.6%, 0%, 73.7%)
CIE-LABlab(11.09, 28.95, -26.92)
CIE-LCHlch(11.09, 39.53, 317.07°)
OKLaboklab(24.64% 0.0668 -0.0762)
OKLCHoklch(24.64% 0.101 311.2)
XYZxyz(2.3515, 1.2730, 5.4309)
Luminance0.0127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B43 #1E430B
analogous
#140B43 #300B43 #430B3A
triadic
#300B43 #43300B #0B4330
tetradic
#300B43 #43140B #1E430B #0B3A43
square
#300B43 #43140B #1E430B #0B3A43
split-complementary
#300B43 #3A430B #0B4314
monochromatic
#13041A #13041A #300B43 #561478 #7B1CAC

Accessibility & contrast

On white

16.74
#300B43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B43
16.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B43#FFFFFF#000000##FFFFFF
##300B431.0016.741.2516.74
#FFFFFF16.741.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C45
Deuteranopia (green-blind)
#031E42
Tritanopia (blue-blind)
#2E1826
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300b43;
/* rgb */ color: rgb(48, 11, 67);
/* oklch */ color: oklch(24.6% 0.101 311.2);
Tailwind
colors: {
  custom: {
    50: '#6b4e77',
    500: '#300b43',
    950: '#000000',
  },
}
SCSS
$custom: #300b43;
$custom-light: #6b4e77;
$custom-dark: #000000;
JSON
{
  "hex": "#300b43",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 67
  },
  "hsl": {
    "h": 279.643,
    "s": 71.795,
    "l": 15.294
  },
  "oklch": {
    "l": 0.24642,
    "c": 0.10134,
    "h": 311.2
  },
  "luminance": 0.01273
}

Semantic roles & 50–950 ramp

primary
#300B43
secondary
#47802A
accent
#EF3977
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300B43

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

Preview Lab → · Contrast checker → · Palette generator →

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