#301680#301680

#301680 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.1% C 0.162 H 283.8°. Best body text is #FFFFFF at 13.53:1 contrast (WCAG AA passes).

Color values

HEX#301680
RGBrgb(48, 22, 128)
HSLhsl(255, 71%, 29%)
HSVhsv(255, 83%, 50%)
CMYKcmyk(62.5%, 82.8%, 0%, 49.8%)
CIE-LABlab(19.06, 41.12, -54.49)
CIE-LCHlch(19.06, 68.27, 307.04°)
OKLaboklab(32.08% 0.0385 -0.1571)
OKLCHoklch(32.08% 0.162 283.8)
XYZxyz(5.4009, 2.7603, 20.6661)
Luminance0.0276 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301680 #668016
analogous
#163180 #301680 #651680
triadic
#301680 #803016 #168030
tetradic
#301680 #801631 #668016 #168065
square
#301680 #801631 #668016 #168065
split-complementary
#301680 #806516 #318016
monochromatic
#0A041A #1C0D4C #301680 #441FB4 #5D34DC

Accessibility & contrast

On white

13.53
#301680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#301680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301680
13.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301680#FFFFFF#000000##FFFFFF
##3016801.0013.531.5513.53
#FFFFFF13.531.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #301680;
/* rgb */ color: rgb(48, 22, 128);
/* oklch */ color: oklch(32.1% 0.162 283.8);
Tailwind
colors: {
  custom: {
    50: '#7458a6',
    500: '#301680',
    950: '#000000',
  },
}
SCSS
$custom: #301680;
$custom-light: #7458a6;
$custom-dark: #000000;
JSON
{
  "hex": "#301680",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 254.717,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32084,
    "c": 0.16175,
    "h": 283.8
  },
  "luminance": 0.02761
}

Semantic roles & 50–950 ramp

primary
#301680
secondary
#97B53D
accent
#ED3AC2
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #301680

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

Preview Lab → · Contrast checker → · Palette generator →

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