#341568#341568

#341568 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.134 H 293.6°. Best body text is #FFFFFF at 14.45:1 contrast (WCAG AA passes).

Color values

HEX#341568
RGBrgb(52, 21, 104)
HSLhsl(262, 66%, 25%)
HSVhsv(262, 80%, 41%)
CMYKcmyk(50%, 79.8%, 0%, 59.2%)
CIE-LABlab(16.82, 35.04, -42.67)
CIE-LCHlch(16.82, 55.21, 309.39°)
OKLaboklab(29.88% 0.0535 -0.1224)
OKLCHoklch(29.88% 0.134 293.6)
XYZxyz(4.1823, 2.2657, 13.3110)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341568 #496815
analogous
#151F68 #341568 #5E1568
triadic
#341568 #683415 #156834
tetradic
#341568 #68151F #496815 #15685E
square
#341568 #68151F #496815 #15685E
split-complementary
#341568 #685E15 #1F6815
monochromatic
#0D0519 #1B0B35 #341568 #4D1F9B #672ACE

Accessibility & contrast

On white

14.45
#341568 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341568
14.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341568#FFFFFF#000000##FFFFFF
##3415681.0014.451.4514.45
#FFFFFF14.451.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A6A
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#242C3E
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341568;
/* rgb */ color: rgb(52, 21, 104);
/* oklch */ color: oklch(29.9% 0.134 293.6);
Tailwind
colors: {
  custom: {
    50: '#725694',
    500: '#341568',
    950: '#000000',
  },
}
SCSS
$custom: #341568;
$custom-light: #725694;
$custom-dark: #000000;
JSON
{
  "hex": "#341568",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 104
  },
  "hsl": {
    "h": 262.41,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29875,
    "c": 0.13358,
    "h": 293.6
  },
  "luminance": 0.02266
}

Semantic roles & 50–950 ramp

primary
#341568
secondary
#799F3A
accent
#E93EAA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341568

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

Preview Lab → · Contrast checker → · Palette generator →

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