#301476#301476

#301476 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.152 H 286.5°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#301476
RGBrgb(48, 20, 118)
HSLhsl(257, 71%, 27%)
HSVhsv(257, 83%, 46%)
CMYKcmyk(59.3%, 83.1%, 0%, 53.7%)
CIE-LABlab(17.63, 39.07, -50.46)
CIE-LCHlch(17.63, 63.82, 307.75°)
OKLaboklab(30.76% 0.0432 -0.1453)
OKLCHoklch(30.76% 0.152 286.5)
XYZxyz(4.7381, 2.4364, 17.3566)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301476 #5A7614
analogous
#142976 #301476 #611476
triadic
#301476 #763014 #147630
tetradic
#301476 #761429 #5A7614 #147661
square
#301476 #761429 #5A7614 #147661
split-complementary
#301476 #766114 #297614
monochromatic
#0B041A #1B0B42 #301476 #451DAA #5C2ADB

Accessibility & contrast

On white

14.12
#301476 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#301476 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301476
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301476#FFFFFF#000000##FFFFFF
##3014761.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#0D3145
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301476;
/* rgb */ color: rgb(48, 20, 118);
/* oklch */ color: oklch(30.8% 0.152 286.5);
Tailwind
colors: {
  custom: {
    50: '#72569f',
    500: '#301476',
    950: '#000000',
  },
}
SCSS
$custom: #301476;
$custom-light: #72569f;
$custom-dark: #000000;
JSON
{
  "hex": "#301476",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 118
  },
  "hsl": {
    "h": 257.143,
    "s": 71.014,
    "l": 27.059
  },
  "oklch": {
    "l": 0.30765,
    "c": 0.15159,
    "h": 286.5
  },
  "luminance": 0.02437
}

Semantic roles & 50–950 ramp

primary
#301476
secondary
#8BAC3A
accent
#EE3ABA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #301476

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

Preview Lab → · Contrast checker → · Palette generator →

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