#300C44#300C44

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

Color values

HEX#300C44
RGBrgb(48, 12, 68)
HSLhsl(279, 70%, 16%)
HSVhsv(279, 82%, 27%)
CMYKcmyk(29.4%, 82.4%, 0%, 73.3%)
CIE-LABlab(11.34, 28.73, -27.22)
CIE-LCHlch(11.34, 39.58, 316.54°)
OKLaboklab(24.85% 0.0655 -0.0771)
OKLCHoklch(24.85% 0.101 310.3)
XYZxyz(2.3936, 1.3087, 5.5942)
Luminance0.0131 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C44 #20440C
analogous
#140C44 #300C44 #440C3C
triadic
#300C44 #44300C #0C4430
tetradic
#300C44 #44140C #20440C #0C3C44
square
#300C44 #44140C #20440C #0C3C44
split-complementary
#300C44 #3C440C #0C4414
monochromatic
#12051A #12051A #300C44 #551578 #791EAC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##300C44#FFFFFF#000000##FFFFFF
##300C441.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)
#001D46
Deuteranopia (green-blind)
#031F43
Tritanopia (blue-blind)
#2D1927
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300c44;
/* rgb */ color: rgb(48, 12, 68);
/* oklch */ color: oklch(24.8% 0.101 310.3);
Tailwind
colors: {
  custom: {
    50: '#6b4f78',
    500: '#300c44',
    950: '#000000',
  },
}
SCSS
$custom: #300c44;
$custom-light: #6b4f78;
$custom-dark: #000000;
JSON
{
  "hex": "#300c44",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 68
  },
  "hsl": {
    "h": 278.571,
    "s": 70,
    "l": 15.686
  },
  "oklch": {
    "l": 0.24847,
    "c": 0.10114,
    "h": 310.3
  },
  "luminance": 0.01309
}

Semantic roles & 50–950 ramp

primary
#300C44
secondary
#4A802C
accent
#ED3B7B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#070209
muted
#7A787B

Preview Lab

Preview with #300C44

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

Preview Lab → · Contrast checker → · Palette generator →

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