#300A47#300A47

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

Color values

HEX#300A47
RGBrgb(48, 10, 71)
HSLhsl(277, 75%, 16%)
HSVhsv(277, 86%, 28%)
CMYKcmyk(32.4%, 85.9%, 0%, 72.2%)
CIE-LABlab(11.28, 30.41, -29.42)
CIE-LCHlch(11.28, 42.31, 315.95°)
OKLaboklab(24.89% 0.067 -0.0835)
OKLCHoklch(24.89% 0.107 308.7)
XYZxyz(2.4646, 1.3004, 6.0812)
Luminance0.0130 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300A47 #21470A
analogous
#110A47 #300A47 #470A3F
triadic
#300A47 #47300A #0A4730
tetradic
#300A47 #47110A #21470A #0A3F47
square
#300A47 #47110A #21470A #0A3F47
split-complementary
#300A47 #3F470A #0A4711
monochromatic
#12041B #12041B #300A47 #54127D #7919B2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##300A47#FFFFFF#000000##FFFFFF
##300A471.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)
#001D49
Deuteranopia (green-blind)
#001E46
Tritanopia (blue-blind)
#2C1928
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #300a47;
/* rgb */ color: rgb(48, 10, 71);
/* oklch */ color: oklch(24.9% 0.107 308.7);
Tailwind
colors: {
  custom: {
    50: '#6b4e7b',
    500: '#300a47',
    950: '#000000',
  },
}
SCSS
$custom: #300a47;
$custom-light: #6b4e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#300a47",
  "rgb": {
    "r": 48,
    "g": 10,
    "b": 71
  },
  "hsl": {
    "h": 277.377,
    "s": 75.309,
    "l": 15.882
  },
  "oklch": {
    "l": 0.24888,
    "c": 0.10706,
    "h": 308.7
  },
  "luminance": 0.013
}

Semantic roles & 50–950 ramp

primary
#300A47
secondary
#4B8429
accent
#F2367D
background
#F6F4F7
surface
#EBE7EE
border
#C6C3C9
text
#070209
muted
#7A787B

Preview Lab

Preview with #300A47

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

Preview Lab → · Contrast checker → · Palette generator →

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