#301376#301376

#301376 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.153 H 286.7°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#301376
RGBrgb(48, 19, 118)
HSLhsl(258, 72%, 27%)
HSVhsv(258, 84%, 46%)
CMYKcmyk(59.3%, 83.9%, 0%, 53.7%)
CIE-LABlab(17.47, 39.53, -50.73)
CIE-LCHlch(17.47, 64.31, 307.93°)
OKLaboklab(30.65% 0.0438 -0.1461)
OKLCHoklch(30.65% 0.153 286.7)
XYZxyz(4.7208, 2.4019, 17.3509)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301376 #597613
analogous
#132776 #301376 #621376
triadic
#301376 #763013 #137630
tetradic
#301376 #761327 #597613 #137662
square
#301376 #761327 #597613 #137662
split-complementary
#301376 #766213 #277613
monochromatic
#0B041A #1B0B41 #301376 #451BAB #5C27DC

Accessibility & contrast

On white

14.19
#301376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#301376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301376
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301376#FFFFFF#000000##FFFFFF
##3013761.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301376;
/* rgb */ color: rgb(48, 19, 118);
/* oklch */ color: oklch(30.7% 0.153 286.7);
Tailwind
colors: {
  custom: {
    50: '#72569f',
    500: '#301376',
    950: '#000000',
  },
}
SCSS
$custom: #301376;
$custom-light: #72569f;
$custom-dark: #000000;
JSON
{
  "hex": "#301376",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 257.576,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30655,
    "c": 0.15251,
    "h": 286.7
  },
  "luminance": 0.02402
}

Semantic roles & 50–950 ramp

primary
#301376
secondary
#8AAC39
accent
#EF39BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #301376

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

Preview Lab → · Contrast checker → · Palette generator →

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