#301475#301475

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

Color values

HEX#301475
RGBrgb(48, 20, 117)
HSLhsl(257, 71%, 27%)
HSVhsv(257, 83%, 46%)
CMYKcmyk(59%, 82.9%, 0%, 54.1%)
CIE-LABlab(17.52, 38.77, -50.00)
CIE-LCHlch(17.52, 63.27, 307.79°)
OKLaboklab(30.66% 0.0435 -0.144)
OKLCHoklch(30.66% 0.15 286.8)
XYZxyz(4.6790, 2.4128, 17.0453)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301475 #597514
analogous
#142875 #301475 #611475
triadic
#301475 #753014 #147530
tetradic
#301475 #751428 #597514 #147561
square
#301475 #751428 #597514 #147561
split-complementary
#301475 #756114 #287514
monochromatic
#0B041A #1B0B41 #301475 #451DA9 #5C29DA

Accessibility & contrast

On white

14.16
#301475 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #301475
14.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301475#FFFFFF#000000##FFFFFF
##3014751.0014.161.4814.16
#FFFFFF14.161.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D78
Deuteranopia (green-blind)
#002873
Tritanopia (blue-blind)
#0F3145
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #301475;
/* rgb */ color: rgb(48, 20, 117);
/* oklch */ color: oklch(30.7% 0.150 286.8);
Tailwind
colors: {
  custom: {
    50: '#72569e',
    500: '#301475',
    950: '#000000',
  },
}
SCSS
$custom: #301475;
$custom-light: #72569e;
$custom-dark: #000000;
JSON
{
  "hex": "#301475",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 117
  },
  "hsl": {
    "h": 257.32,
    "s": 70.803,
    "l": 26.863
  },
  "oklch": {
    "l": 0.30657,
    "c": 0.15039,
    "h": 286.8
  },
  "luminance": 0.02413
}

Semantic roles & 50–950 ramp

primary
#301475
secondary
#8AAB3A
accent
#EE3ABA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #301475

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

Preview Lab → · Contrast checker → · Palette generator →

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