#300647#300647

#300647 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.5% C 0.112 H 309.4°. Best body text is #FFFFFF at 16.90:1 contrast (WCAG AA passes).

Color values

HEX#300647
RGBrgb(48, 6, 71)
HSLhsl(279, 84%, 15%)
HSVhsv(279, 92%, 28%)
CMYKcmyk(32.4%, 91.5%, 0%, 72.2%)
CIE-LABlab(10.66, 32.21, -30.43)
CIE-LCHlch(10.66, 44.31, 316.63°)
OKLaboklab(24.45% 0.0711 -0.0865)
OKLCHoklch(24.45% 0.112 309.4)
XYZxyz(2.4211, 1.2136, 6.0667)
Luminance0.0121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300647 #1D4706
analogous
#0F0647 #300647 #47063E
triadic
#300647 #473006 #064730
tetradic
#300647 #470F06 #1D4706 #063E47
square
#300647 #470F06 #1D4706 #063E47
split-complementary
#300647 #3E4706 #06470F
monochromatic
#13021C #13021C #300647 #560B7F #7C10B8

Accessibility & contrast

On white

16.90
#300647 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.24
#300647 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300647
16.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300647#FFFFFF#000000##FFFFFF
##3006471.0016.901.2416.90
#FFFFFF16.901.0021.001.00
#0000001.2421.001.0021.00
##FFFFFF16.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001B49
Deuteranopia (green-blind)
#001D46
Tritanopia (blue-blind)
#2C1727
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #300647;
/* rgb */ color: rgb(48, 6, 71);
/* oklch */ color: oklch(24.5% 0.112 309.4);
Tailwind
colors: {
  custom: {
    50: '#6c4c7b',
    500: '#300647',
    950: '#000000',
  },
}
SCSS
$custom: #300647;
$custom-light: #6c4c7b;
$custom-dark: #000000;
JSON
{
  "hex": "#300647",
  "rgb": {
    "r": 48,
    "g": 6,
    "b": 71
  },
  "hsl": {
    "h": 278.769,
    "s": 84.416,
    "l": 15.098
  },
  "oklch": {
    "l": 0.24454,
    "c": 0.11197,
    "h": 309.4
  },
  "luminance": 0.01214
}

Semantic roles & 50–950 ramp

primary
#300647
secondary
#468623
accent
#FB2D76
background
#F6F4F7
surface
#ECE7EE
border
#C7C3C9
text
#070109
muted
#7A777B

Preview Lab

Preview with #300647

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

Preview Lab → · Contrast checker → · Palette generator →

#300647 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva