#300B46#300B46

#300B46 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.9% C 0.105 H 309.2°. Best body text is #FFFFFF at 16.64:1 contrast (WCAG AA passes).

Color values

HEX#300B46
RGBrgb(48, 11, 70)
HSLhsl(278, 73%, 16%)
HSVhsv(278, 84%, 27%)
CMYKcmyk(31.4%, 84.3%, 0%, 72.5%)
CIE-LABlab(11.35, 29.71, -28.61)
CIE-LCHlch(11.35, 41.24, 316.08°)
OKLaboklab(24.91% 0.0662 -0.0812)
OKLCHoklch(24.91% 0.105 309.2)
XYZxyz(2.4439, 1.3100, 5.9173)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B46 #21460B
analogous
#120B46 #300B46 #460B3E
triadic
#300B46 #46300B #0B4630
tetradic
#300B46 #46120B #21460B #0B3E46
square
#300B46 #46120B #21460B #0B3E46
split-complementary
#300B46 #3E460B #0B4612
monochromatic
#12041A #12041A #300B46 #54137B #791CB0

Accessibility & contrast

On white

16.64
#300B46 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B46
16.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B46#FFFFFF#000000##FFFFFF
##300B461.0016.641.2616.64
#FFFFFF16.641.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D48
Deuteranopia (green-blind)
#001F45
Tritanopia (blue-blind)
#2D1928
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300b46;
/* rgb */ color: rgb(48, 11, 70);
/* oklch */ color: oklch(24.9% 0.105 309.2);
Tailwind
colors: {
  custom: {
    50: '#6b4e7a',
    500: '#300b46',
    950: '#000000',
  },
}
SCSS
$custom: #300b46;
$custom-light: #6b4e7a;
$custom-dark: #000000;
JSON
{
  "hex": "#300b46",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 70
  },
  "hsl": {
    "h": 277.627,
    "s": 72.84,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24907,
    "c": 0.10472,
    "h": 309.2
  },
  "luminance": 0.0131
}

Semantic roles & 50–950 ramp

primary
#300B46
secondary
#4B822A
accent
#F0387D
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300B46

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

Preview Lab → · Contrast checker → · Palette generator →

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