#301560#301560

#301560 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.123 H 293.4°. Best body text is #FFFFFF at 14.98:1 contrast (WCAG AA passes).

Color values

HEX#301560
RGBrgb(48, 21, 96)
HSLhsl(262, 64%, 23%)
HSVhsv(262, 78%, 38%)
CMYKcmyk(50%, 78.1%, 0%, 62.4%)
CIE-LABlab(15.53, 31.96, -39.51)
CIE-LCHlch(15.53, 50.82, 308.96°)
OKLaboklab(28.61% 0.0491 -0.1133)
OKLCHoklch(28.61% 0.123 293.4)
XYZxyz(3.5978, 2.0091, 11.2623)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#301560 #456015
analogous
#151F60 #301560 #551560
triadic
#301560 #603015 #156030
tetradic
#301560 #60151F #456015 #156055
square
#301560 #60151F #456015 #156055
split-complementary
#301560 #605515 #1F6015
monochromatic
#0D0519 #170A2E #301560 #492092 #622BC4

Accessibility & contrast

On white

14.98
#301560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#301560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #301560
14.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##301560#FFFFFF#000000##FFFFFF
##3015601.0014.981.4014.98
#FFFFFF14.981.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #301560;
/* rgb */ color: rgb(48, 21, 96);
/* oklch */ color: oklch(28.6% 0.123 293.4);
Tailwind
colors: {
  custom: {
    50: '#6e558e',
    500: '#301560',
    950: '#000000',
  },
}
SCSS
$custom: #301560;
$custom-light: #6e558e;
$custom-dark: #000000;
JSON
{
  "hex": "#301560",
  "rgb": {
    "r": 48,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 261.6,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.28612,
    "c": 0.12347,
    "h": 293.4
  },
  "luminance": 0.02009
}

Semantic roles & 50–950 ramp

primary
#301560
secondary
#76973A
accent
#E741AB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #301560

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

Preview Lab → · Contrast checker → · Palette generator →

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