#341566#341566

#341566 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.131 H 294.4°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#341566
RGBrgb(52, 21, 102)
HSLhsl(263, 66%, 24%)
HSVhsv(263, 79%, 40%)
CMYKcmyk(49%, 79.4%, 0%, 60%)
CIE-LABlab(16.63, 34.45, -41.67)
CIE-LCHlch(16.63, 54.07, 309.58°)
OKLaboklab(29.68% 0.0541 -0.1195)
OKLCHoklch(29.68% 0.131 294.4)
XYZxyz(4.0820, 2.2256, 12.7823)
Luminance0.0223 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341566 #476615
analogous
#151F66 #341566 #5D1566
triadic
#341566 #663415 #156634
tetradic
#341566 #66151F #476615 #15665D
square
#341566 #66151F #476615 #15665D
split-complementary
#341566 #665D15 #1F6615
monochromatic
#0D0519 #1A0B33 #341566 #4E1F99 #682ACC

Accessibility & contrast

On white

14.53
#341566 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#341566 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341566
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341566#FFFFFF#000000##FFFFFF
##3415661.0014.531.4514.53
#FFFFFF14.531.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002864
Tritanopia (blue-blind)
#252B3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341566;
/* rgb */ color: rgb(52, 21, 102);
/* oklch */ color: oklch(29.7% 0.131 294.4);
Tailwind
colors: {
  custom: {
    50: '#715692',
    500: '#341566',
    950: '#000000',
  },
}
SCSS
$custom: #341566;
$custom-light: #715692;
$custom-dark: #000000;
JSON
{
  "hex": "#341566",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 102
  },
  "hsl": {
    "h": 262.963,
    "s": 65.854,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29679,
    "c": 0.13114,
    "h": 294.4
  },
  "luminance": 0.02226
}

Semantic roles & 50–950 ramp

primary
#341566
secondary
#779D3A
accent
#E93FA8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341566

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

Preview Lab → · Contrast checker → · Palette generator →

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