#301693#301693

#301693 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.184 H 280.0°. Best body text is #FFFFFF at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#301693
RGBrgb(48, 22, 147)
HSLhsl(252, 74%, 33%)
HSVhsv(252, 85%, 58%)
CMYKcmyk(67.3%, 85%, 0%, 42.4%)
CIE-LABlab(21.24, 46.76, -62.80)
CIE-LCHlch(21.24, 78.29, 306.67°)
OKLaboklab(34.23% 0.0319 -0.1813)
OKLCHoklch(34.23% 0.184 280)
XYZxyz(6.7706, 3.3082, 27.8799)
Luminance0.0331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301693 #799316
analogous
#163A93 #301693 #6E1693
triadic
#301693 #933016 #169330
tetradic
#301693 #93163A #799316 #16936E
square
#301693 #93163A #799316 #16936E
split-complementary
#301693 #936E16 #3A9316
monochromatic
#0D0629 #1F0E5E #301693 #411EC8 #6241E3

Accessibility & contrast

On white

12.64
#301693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#301693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301693
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301693#FFFFFF#000000##FFFFFF
##3016931.0012.641.6612.64
#FFFFFF12.641.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003796
Deuteranopia (green-blind)
#002E91
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #301693;
/* rgb */ color: rgb(48, 22, 147);
/* oklch */ color: oklch(34.2% 0.184 280.0);
Tailwind
colors: {
  custom: {
    50: '#7859b4',
    500: '#301693',
    950: '#000000',
  },
}
SCSS
$custom: #301693;
$custom-light: #7859b4;
$custom-dark: #000000;
JSON
{
  "hex": "#301693",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 252.48,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34229,
    "c": 0.18406,
    "h": 280
  },
  "luminance": 0.03309
}

Semantic roles & 50–950 ramp

primary
#301693
secondary
#A8C342
accent
#F137CA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #301693

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

Preview Lab → · Contrast checker → · Palette generator →

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