#301660#301660

#301660 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.7% C 0.122 H 293.2°. Best body text is #FFFFFF at 14.90:1 contrast (WCAG AA passes).

Color values

HEX#301660
RGBrgb(48, 22, 96)
HSLhsl(261, 63%, 23%)
HSVhsv(261, 77%, 38%)
CMYKcmyk(50%, 77.1%, 0%, 62.4%)
CIE-LABlab(15.73, 31.41, -39.19)
CIE-LCHlch(15.73, 50.22, 308.71°)
OKLaboklab(28.75% 0.0481 -0.1123)
OKLCHoklch(28.75% 0.122 293.2)
XYZxyz(3.6166, 2.0466, 11.2685)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301660 #466016
analogous
#162160 #301660 #551660
triadic
#301660 #603016 #166030
tetradic
#301660 #601621 #466016 #166055
square
#301660 #601621 #466016 #166055
split-complementary
#301660 #605516 #216016
monochromatic
#0C0619 #170B2E #301660 #492192 #622DC4

Accessibility & contrast

On white

14.90
#301660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#301660 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301660
14.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301660#FFFFFF#000000##FFFFFF
##3016601.0014.901.4114.90
#FFFFFF14.901.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#212939
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #301660;
/* rgb */ color: rgb(48, 22, 96);
/* oklch */ color: oklch(28.7% 0.122 293.2);
Tailwind
colors: {
  custom: {
    50: '#6e568e',
    500: '#301660',
    950: '#000000',
  },
}
SCSS
$custom: #301660;
$custom-light: #6e568e;
$custom-dark: #000000;
JSON
{
  "hex": "#301660",
  "rgb": {
    "r": 48,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 261.081,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.2875,
    "c": 0.12221,
    "h": 293.2
  },
  "luminance": 0.02047
}

Semantic roles & 50–950 ramp

primary
#301660
secondary
#77973B
accent
#E642AC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301660

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

Preview Lab → · Contrast checker → · Palette generator →

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