#301390#301390

#301390 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.6% C 0.183 H 280.8°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#301390
RGBrgb(48, 19, 144)
HSLhsl(254, 77%, 32%)
HSVhsv(254, 87%, 56%)
CMYKcmyk(66.7%, 86.8%, 0%, 43.5%)
CIE-LABlab(20.47, 47.11, -62.21)
CIE-LCHlch(20.47, 78.04, 307.14°)
OKLaboklab(33.6% 0.0342 -0.1795)
OKLCHoklch(33.6% 0.183 280.8)
XYZxyz(6.4842, 3.1072, 26.6382)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301390 #739013
analogous
#133590 #301390 #6F1390
triadic
#301390 #903013 #139030
tetradic
#301390 #901335 #739013 #13906F
square
#301390 #901335 #739013 #13906F
split-complementary
#301390 #906F13 #359013
monochromatic
#0C0524 #1E0C5A #301390 #421AC6 #6139E5

Accessibility & contrast

On white

12.95
#301390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#301390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301390
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301390#FFFFFF#000000##FFFFFF
##3013901.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003593
Deuteranopia (green-blind)
#002D8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #301390;
/* rgb */ color: rgb(48, 19, 144);
/* oklch */ color: oklch(33.6% 0.183 280.8);
Tailwind
colors: {
  custom: {
    50: '#7758b2',
    500: '#301390',
    950: '#000000',
  },
}
SCSS
$custom: #301390;
$custom-light: #7758b2;
$custom-dark: #000000;
JSON
{
  "hex": "#301390",
  "rgb": {
    "r": 48,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 253.92,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33598,
    "c": 0.18275,
    "h": 280.8
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#301390
secondary
#A4C43B
accent
#F335C7
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301390

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

Preview Lab → · Contrast checker → · Palette generator →

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