#301690#301690

#301690 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.9% C 0.181 H 280.5°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#301690
RGBrgb(48, 22, 144)
HSLhsl(253, 73%, 33%)
HSVhsv(253, 85%, 56%)
CMYKcmyk(66.7%, 84.7%, 0%, 43.5%)
CIE-LABlab(20.89, 45.88, -61.52)
CIE-LCHlch(20.89, 76.74, 306.71°)
OKLaboklab(33.89% 0.0329 -0.1776)
OKLCHoklch(33.89% 0.181 280.5)
XYZxyz(6.5383, 3.2153, 26.6562)
Luminance0.0322 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301690 #769016
analogous
#163990 #301690 #6D1690
triadic
#301690 #903016 #169030
tetradic
#301690 #901639 #769016 #16906D
square
#301690 #901639 #769016 #16906D
split-complementary
#301690 #906D16 #399016
monochromatic
#0D0626 #1E0E5B #301690 #421EC5 #613FE2

Accessibility & contrast

On white

12.78
#301690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#301690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301690
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301690#FFFFFF#000000##FFFFFF
##3016901.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301690;
/* rgb */ color: rgb(48, 22, 144);
/* oklch */ color: oklch(33.9% 0.181 280.5);
Tailwind
colors: {
  custom: {
    50: '#7759b2',
    500: '#301690',
    950: '#000000',
  },
}
SCSS
$custom: #301690;
$custom-light: #7759b2;
$custom-dark: #000000;
JSON
{
  "hex": "#301690",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 252.787,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.33885,
    "c": 0.18059,
    "h": 280.5
  },
  "luminance": 0.03216
}

Semantic roles & 50–950 ramp

primary
#301690
secondary
#A6C240
accent
#F038C9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301690

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

Preview Lab → · Contrast checker → · Palette generator →

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