#300A49#300A49

#300A49 is a dark, moderate violet. Relative luminance 0.013; OKLCH L 25.1% C 0.109 H 307.4°. Best body text is #FFFFFF at 16.60:1 contrast (WCAG AA passes).

Color values

HEX#300A49
RGBrgb(48, 10, 73)
HSLhsl(276, 76%, 16%)
HSVhsv(276, 86%, 29%)
CMYKcmyk(34.2%, 86.3%, 0%, 71.4%)
CIE-LABlab(11.46, 30.93, -30.52)
CIE-LCHlch(11.46, 43.45, 315.38°)
OKLaboklab(25.07% 0.0664 -0.0868)
OKLCHoklch(25.07% 0.109 307.4)
XYZxyz(2.5298, 1.3265, 6.4248)
Luminance0.0133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A49 #23490A
analogous
#100A49 #300A49 #490A43
triadic
#300A49 #49300A #0A4930
tetradic
#300A49 #49100A #23490A #0A4349
square
#300A49 #49100A #23490A #0A4349
split-complementary
#300A49 #43490A #0A4910
monochromatic
#12041B #12041B #300A49 #53117F #7719B5

Accessibility & contrast

On white

16.60
#300A49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #300A49
16.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300A49#FFFFFF#000000##FFFFFF
##300A491.0016.601.2716.60
#FFFFFF16.601.0021.001.00
#0000001.2721.001.0021.00
##FFFFFF16.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001D4B
Deuteranopia (green-blind)
#001F48
Tritanopia (blue-blind)
#2C1A29
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300a49;
/* rgb */ color: rgb(48, 10, 73);
/* oklch */ color: oklch(25.1% 0.109 307.4);
Tailwind
colors: {
  custom: {
    50: '#6c4e7c',
    500: '#300a49',
    950: '#000000',
  },
}
SCSS
$custom: #300a49;
$custom-light: #6c4e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#300a49",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 73
  },
  "hsl": {
    "h": 276.19,
    "s": 75.904,
    "l": 16.275
  },
  "oklch": {
    "l": 0.25072,
    "c": 0.10929,
    "h": 307.4
  },
  "luminance": 0.01327
}

Semantic roles & 50–950 ramp

primary
#300A49
secondary
#4E8629
accent
#F23580
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #300A49

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

Preview Lab → · Contrast checker → · Palette generator →

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