#300B47#300B47

#300B47 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 25.0% C 0.106 H 308.5°. Best body text is #FFFFFF at 16.61:1 contrast (WCAG AA passes).

Color values

HEX#300B47
RGBrgb(48, 11, 71)
HSLhsl(277, 73%, 16%)
HSVhsv(277, 85%, 28%)
CMYKcmyk(32.4%, 84.5%, 0%, 72.2%)
CIE-LABlab(11.43, 29.97, -29.17)
CIE-LCHlch(11.43, 41.82, 315.78°)
OKLaboklab(25% 0.0659 -0.0828)
OKLCHoklch(25% 0.106 308.5)
XYZxyz(2.4757, 1.3227, 6.0849)
Luminance0.0132 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B47 #22470B
analogous
#120B47 #300B47 #470B40
triadic
#300B47 #47300B #0B4730
tetradic
#300B47 #47120B #22470B #0B4047
square
#300B47 #47120B #22470B #0B4047
split-complementary
#300B47 #40470B #0B4712
monochromatic
#12041A #12041A #300B47 #54137C #781BB1

Accessibility & contrast

On white

16.61
#300B47 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#300B47 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300B47
16.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B47#FFFFFF#000000##FFFFFF
##300B471.0016.611.2616.61
#FFFFFF16.611.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D49
Deuteranopia (green-blind)
#001F46
Tritanopia (blue-blind)
#2C1A28
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300b47;
/* rgb */ color: rgb(48, 11, 71);
/* oklch */ color: oklch(25.0% 0.106 308.5);
Tailwind
colors: {
  custom: {
    50: '#6b4e7b',
    500: '#300b47',
    950: '#000000',
  },
}
SCSS
$custom: #300b47;
$custom-light: #6b4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#300b47",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 71
  },
  "hsl": {
    "h": 277,
    "s": 73.171,
    "l": 16.078
  },
  "oklch": {
    "l": 0.24997,
    "c": 0.10584,
    "h": 308.5
  },
  "luminance": 0.01323
}

Semantic roles & 50–950 ramp

primary
#300B47
secondary
#4D832A
accent
#F0387E
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #300B47

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

Preview Lab → · Contrast checker → · Palette generator →

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