#341564#341564

#341564 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.5% C 0.129 H 295.1°. Best body text is #FFFFFF at 14.61:1 contrast (WCAG AA passes).

Color values

HEX#341564
RGBrgb(52, 21, 100)
HSLhsl(264, 65%, 24%)
HSVhsv(264, 79%, 39%)
CMYKcmyk(48%, 79%, 0%, 60.8%)
CIE-LABlab(16.44, 33.87, -40.67)
CIE-LCHlch(16.44, 52.93, 309.79°)
OKLaboklab(29.48% 0.0547 -0.1165)
OKLCHoklch(29.48% 0.129 295.1)
XYZxyz(3.9840, 2.1864, 12.2662)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341564 #456415
analogous
#151D64 #341564 #5B1564
triadic
#341564 #643415 #156434
tetradic
#341564 #64151D #456415 #15645B
square
#341564 #64151D #456415 #15645B
split-complementary
#341564 #645B15 #1D6415
monochromatic
#0D0519 #1A0A31 #341564 #4E2097 #692AC9

Accessibility & contrast

On white

14.61
#341564 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#341564 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341564
14.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341564#FFFFFF#000000##FFFFFF
##3415641.0014.611.4414.61
#FFFFFF14.611.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002966
Deuteranopia (green-blind)
#002762
Tritanopia (blue-blind)
#262A3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341564;
/* rgb */ color: rgb(52, 21, 100);
/* oklch */ color: oklch(29.5% 0.129 295.1);
Tailwind
colors: {
  custom: {
    50: '#715691',
    500: '#341564',
    950: '#000000',
  },
}
SCSS
$custom: #341564;
$custom-light: #715691;
$custom-dark: #000000;
JSON
{
  "hex": "#341564",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 100
  },
  "hsl": {
    "h": 263.544,
    "s": 65.289,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29484,
    "c": 0.1287,
    "h": 295.1
  },
  "luminance": 0.02186
}

Semantic roles & 50–950 ramp

primary
#341564
secondary
#759B3A
accent
#E840A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341564

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

Preview Lab → · Contrast checker → · Palette generator →

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