#300B45#300B45

#300B45 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.104 H 309.9°. Best body text is #FFFFFF at 16.67:1 contrast (WCAG AA passes).

Color values

HEX#300B45
RGBrgb(48, 11, 69)
HSLhsl(278, 73%, 16%)
HSVhsv(278, 84%, 27%)
CMYKcmyk(30.4%, 84.1%, 0%, 72.9%)
CIE-LABlab(11.26, 29.46, -28.05)
CIE-LCHlch(11.26, 40.68, 316.40°)
OKLaboklab(24.82% 0.0664 -0.0795)
OKLCHoklch(24.82% 0.104 309.9)
XYZxyz(2.4126, 1.2974, 5.7524)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300B45 #20450B
analogous
#130B45 #300B45 #450B3D
triadic
#300B45 #45300B #0B4530
tetradic
#300B45 #45130B #20450B #0B3D45
square
#300B45 #45130B #20450B #0B3D45
split-complementary
#300B45 #3D450B #0B4513
monochromatic
#12041A #12041A #300B45 #55137A #791CAF

Accessibility & contrast

On white

16.67
#300B45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300B45
16.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300B45#FFFFFF#000000##FFFFFF
##300B451.0016.671.2616.67
#FFFFFF16.671.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001C47
Deuteranopia (green-blind)
#011F44
Tritanopia (blue-blind)
#2D1927
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300b45;
/* rgb */ color: rgb(48, 11, 69);
/* oklch */ color: oklch(24.8% 0.104 309.9);
Tailwind
colors: {
  custom: {
    50: '#6b4e79',
    500: '#300b45',
    950: '#000000',
  },
}
SCSS
$custom: #300b45;
$custom-light: #6b4e79;
$custom-dark: #000000;
JSON
{
  "hex": "#300b45",
  "rgb": {
    "r": 48,
    "g": 11,
    "b": 69
  },
  "hsl": {
    "h": 278.276,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24818,
    "c": 0.10359,
    "h": 309.9
  },
  "luminance": 0.01297
}

Semantic roles & 50–950 ramp

primary
#300B45
secondary
#4A812A
accent
#EF397B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300B45

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

Preview Lab → · Contrast checker → · Palette generator →

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