#301373#301373

#301373 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.149 H 287.5°. Best body text is #FFFFFF at 14.32:1 contrast (WCAG AA passes).

Color values

HEX#301373
RGBrgb(48, 19, 115)
HSLhsl(258, 72%, 26%)
HSVhsv(258, 83%, 45%)
CMYKcmyk(58.3%, 83.5%, 0%, 54.9%)
CIE-LABlab(17.14, 38.64, -49.33)
CIE-LCHlch(17.14, 62.67, 308.07°)
OKLaboklab(30.33% 0.0449 -0.142)
OKLCHoklch(30.33% 0.149 287.5)
XYZxyz(4.5454, 2.3317, 16.4269)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301373 #567313
analogous
#132673 #301373 #601373
triadic
#301373 #733013 #137330
tetradic
#301373 #731326 #567313 #137360
square
#301373 #731326 #567313 #137360
split-complementary
#301373 #736013 #267313
monochromatic
#0B041A #1A0A3E #301373 #461CA8 #5C25DB

Accessibility & contrast

On white

14.32
#301373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#301373 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301373
14.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301373#FFFFFF#000000##FFFFFF
##3013731.0014.321.4714.32
#FFFFFF14.321.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C76
Deuteranopia (green-blind)
#002871
Tritanopia (blue-blind)
#123043
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #301373;
/* rgb */ color: rgb(48, 19, 115);
/* oklch */ color: oklch(30.3% 0.149 287.5);
Tailwind
colors: {
  custom: {
    50: '#71559c',
    500: '#301373',
    950: '#000000',
  },
}
SCSS
$custom: #301373;
$custom-light: #71559c;
$custom-dark: #000000;
JSON
{
  "hex": "#301373",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 258.125,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30328,
    "c": 0.14893,
    "h": 287.5
  },
  "luminance": 0.02332
}

Semantic roles & 50–950 ramp

primary
#301373
secondary
#87AA38
accent
#EE39B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #301373

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

Preview Lab → · Contrast checker → · Palette generator →

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