#341565#341565

#341565 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.130 H 294.7°. Best body text is #FFFFFF at 14.57:1 contrast (WCAG AA passes).

Color values

HEX#341565
RGBrgb(52, 21, 101)
HSLhsl(263, 66%, 24%)
HSVhsv(263, 79%, 40%)
CMYKcmyk(48.5%, 79.2%, 0%, 60.4%)
CIE-LABlab(16.53, 34.16, -41.17)
CIE-LCHlch(16.53, 53.50, 309.69°)
OKLaboklab(29.58% 0.0544 -0.118)
OKLCHoklch(29.58% 0.13 294.7)
XYZxyz(4.0327, 2.2059, 12.5227)
Luminance0.0221 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341565 #466515
analogous
#151E65 #341565 #5C1565
triadic
#341565 #653415 #156534
tetradic
#341565 #65151E #466515 #15655C
square
#341565 #65151E #466515 #15655C
split-complementary
#341565 #655C15 #1E6515
monochromatic
#0D0519 #1A0A32 #341565 #4E2098 #682ACA

Accessibility & contrast

On white

14.57
#341565 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341565
14.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341565#FFFFFF#000000##FFFFFF
##3415651.0014.571.4414.57
#FFFFFF14.571.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A67
Deuteranopia (green-blind)
#002863
Tritanopia (blue-blind)
#262A3C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341565;
/* rgb */ color: rgb(52, 21, 101);
/* oklch */ color: oklch(29.6% 0.130 294.7);
Tailwind
colors: {
  custom: {
    50: '#715692',
    500: '#341565',
    950: '#000000',
  },
}
SCSS
$custom: #341565;
$custom-light: #715692;
$custom-dark: #000000;
JSON
{
  "hex": "#341565",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 101
  },
  "hsl": {
    "h": 263.25,
    "s": 65.574,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29581,
    "c": 0.12992,
    "h": 294.7
  },
  "luminance": 0.02206
}

Semantic roles & 50–950 ramp

primary
#341565
secondary
#769C3A
accent
#E93FA7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341565

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

Preview Lab → · Contrast checker → · Palette generator →

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