#300C49#300C49

#300C49 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.107 H 307.1°. Best body text is #FFFFFF at 16.48:1 contrast (WCAG AA passes).

Color values

HEX#300C49
RGBrgb(48, 12, 73)
HSLhsl(275, 72%, 17%)
HSVhsv(275, 84%, 29%)
CMYKcmyk(34.2%, 83.6%, 0%, 71.4%)
CIE-LABlab(11.77, 30.03, -30.01)
CIE-LCHlch(11.77, 42.45, 315.01°)
OKLaboklab(25.29% 0.0644 -0.0853)
OKLCHoklch(25.29% 0.107 307.1)
XYZxyz(2.5527, 1.3724, 6.4325)
Luminance0.0137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300C49 #25490C
analogous
#120C49 #300C49 #490C44
triadic
#300C49 #49300C #0C4930
tetradic
#300C49 #49120C #25490C #0C4449
square
#300C49 #49120C #25490C #0C4449
split-complementary
#300C49 #44490C #0C4912
monochromatic
#11041A #11041A #300C49 #53157E #751DB2

Accessibility & contrast

On white

16.48
#300C49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.27
#300C49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300C49
16.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300C49#FFFFFF#000000##FFFFFF
##300C491.0016.481.2716.48
#FFFFFF16.481.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001E4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#2C1B2A
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #300c49;
/* rgb */ color: rgb(48, 12, 73);
/* oklch */ color: oklch(25.3% 0.107 307.1);
Tailwind
colors: {
  custom: {
    50: '#6c4f7c',
    500: '#300c49',
    950: '#000000',
  },
}
SCSS
$custom: #300c49;
$custom-light: #6c4f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#300c49",
  "rgb": {
    "r": 48,
    "g": 12,
    "b": 73
  },
  "hsl": {
    "h": 275.41,
    "s": 71.765,
    "l": 16.667
  },
  "oklch": {
    "l": 0.25292,
    "c": 0.10687,
    "h": 307.1
  },
  "luminance": 0.01372
}

Semantic roles & 50–950 ramp

primary
#300C49
secondary
#50852C
accent
#EE3984
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #300C49

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

Preview Lab → · Contrast checker → · Palette generator →

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