#301689#301689

#301689 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.172 H 281.8°. Best body text is #FFFFFF at 13.11:1 contrast (WCAG AA passes).

Color values

HEX#301689
RGBrgb(48, 22, 137)
HSLhsl(254, 72%, 31%)
HSVhsv(254, 84%, 54%)
CMYKcmyk(65%, 83.9%, 0%, 46.3%)
CIE-LABlab(20.08, 43.81, -58.49)
CIE-LCHlch(20.08, 73.08, 306.83°)
OKLaboklab(33.09% 0.0354 -0.1687)
OKLCHoklch(33.09% 0.172 281.8)
XYZxyz(6.0198, 3.0079, 23.9254)
Luminance0.0301 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301689 #6F8916
analogous
#163589 #301689 #691689
triadic
#301689 #893016 #168930
tetradic
#301689 #891635 #6F8916 #168969
square
#301689 #891635 #6F8916 #168969
split-complementary
#301689 #896916 #358916
monochromatic
#0B0520 #1E0E54 #301689 #421EBE #5F3ADF

Accessibility & contrast

On white

13.11
#301689 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#301689 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301689
13.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301689#FFFFFF#000000##FFFFFF
##3016891.0013.111.6013.11
#FFFFFF13.111.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00348C
Deuteranopia (green-blind)
#002C87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #301689;
/* rgb */ color: rgb(48, 22, 137);
/* oklch */ color: oklch(33.1% 0.172 281.8);
Tailwind
colors: {
  custom: {
    50: '#7658ad',
    500: '#301689',
    950: '#000000',
  },
}
SCSS
$custom: #301689;
$custom-light: #7658ad;
$custom-dark: #000000;
JSON
{
  "hex": "#301689",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 137
  },
  "hsl": {
    "h": 253.565,
    "s": 72.327,
    "l": 31.176
  },
  "oklch": {
    "l": 0.33089,
    "c": 0.17241,
    "h": 281.8
  },
  "luminance": 0.03008
}

Semantic roles & 50–950 ramp

primary
#301689
secondary
#A0BD3E
accent
#EF39C6
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #301689

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

Preview Lab → · Contrast checker → · Palette generator →

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