#301490#301490

#301490 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.7% C 0.182 H 280.7°. Best body text is #FFFFFF at 12.90:1 contrast (WCAG AA passes).

Color values

HEX#301490
RGBrgb(48, 20, 144)
HSLhsl(254, 76%, 32%)
HSVhsv(254, 86%, 56%)
CMYKcmyk(66.7%, 86.1%, 0%, 43.5%)
CIE-LABlab(20.60, 46.71, -61.99)
CIE-LCHlch(20.60, 77.62, 307.00°)
OKLaboklab(33.69% 0.0338 -0.1789)
OKLCHoklch(33.69% 0.182 280.7)
XYZxyz(6.5015, 3.1418, 26.6440)
Luminance0.0314 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301490 #749014
analogous
#143690 #301490 #6E1490
triadic
#301490 #903014 #149030
tetradic
#301490 #901436 #749014 #14906E
square
#301490 #901436 #749014 #14906E
split-complementary
#301490 #906E14 #369014
monochromatic
#0C0525 #1E0D5A #301490 #421BC6 #613BE4

Accessibility & contrast

On white

12.90
#301490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#301490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301490
12.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301490#FFFFFF#000000##FFFFFF
##3014901.0012.901.6312.90
#FFFFFF12.901.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301490;
/* rgb */ color: rgb(48, 20, 144);
/* oklch */ color: oklch(33.7% 0.182 280.7);
Tailwind
colors: {
  custom: {
    50: '#7758b2',
    500: '#301490',
    950: '#000000',
  },
}
SCSS
$custom: #301490;
$custom-light: #7758b2;
$custom-dark: #000000;
JSON
{
  "hex": "#301490",
  "rgb": {
    "r": 48,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 253.548,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.3369,
    "c": 0.18206,
    "h": 280.7
  },
  "luminance": 0.03142
}

Semantic roles & 50–950 ramp

primary
#301490
secondary
#A5C33D
accent
#F236C8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301490

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

Preview Lab → · Contrast checker → · Palette generator →

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