#300D56#300D56

#300D56 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.6% C 0.121 H 299.6°. Best body text is #FFFFFF at 15.94:1 contrast (WCAG AA passes).

Color values

HEX#300D56
RGBrgb(48, 13, 86)
HSLhsl(269, 74%, 19%)
HSVhsv(269, 85%, 34%)
CMYKcmyk(44.2%, 84.9%, 0%, 66.3%)
CIE-LABlab(13.16, 33.07, -36.68)
CIE-LCHlch(13.16, 49.39, 312.04°)
OKLaboklab(26.64% 0.0597 -0.1049)
OKLCHoklch(26.64% 0.121 299.6)
XYZxyz(3.0421, 1.5881, 8.9485)
Luminance0.0159 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#300D56 #33560D
analogous
#0D0F56 #300D56 #550D56
triadic
#300D56 #56300D #0D5630
tetradic
#300D56 #560D0F #33560D #0D5655
square
#300D56 #560D0F #33560D #0D5655
split-complementary
#300D56 #56550D #0F560D
monochromatic
#0F041B #120521 #300D56 #4E158B #6B1DC0

Accessibility & contrast

On white

15.94
#300D56 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.32
#300D56 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #300D56
15.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##300D56#FFFFFF#000000##FFFFFF
##300D561.0015.941.3215.94
#FFFFFF15.941.0021.001.00
#0000001.3221.001.0021.00
##FFFFFF15.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002258
Deuteranopia (green-blind)
#002155
Tritanopia (blue-blind)
#272131
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #300d56;
/* rgb */ color: rgb(48, 13, 86);
/* oklch */ color: oklch(26.6% 0.121 299.6);
Tailwind
colors: {
  custom: {
    50: '#6d5086',
    500: '#300d56',
    950: '#000000',
  },
}
SCSS
$custom: #300d56;
$custom-light: #6d5086;
$custom-dark: #000000;
JSON
{
  "hex": "#300d56",
  "rgb": {
    "r": 48,
    "g": 13,
    "b": 86
  },
  "hsl": {
    "h": 268.767,
    "s": 73.737,
    "l": 19.412
  },
  "oklch": {
    "l": 0.26643,
    "c": 0.1207,
    "h": 299.6
  },
  "luminance": 0.01588
}

Semantic roles & 50–950 ramp

primary
#300D56
secondary
#61912E
accent
#F03798
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #300D56

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

Preview Lab → · Contrast checker → · Palette generator →

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