#341560#341560

#341560 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.124 H 296.7°. Best body text is #FFFFFF at 14.77:1 contrast (WCAG AA passes).

Color values

HEX#341560
RGBrgb(52, 21, 96)
HSLhsl(265, 64%, 23%)
HSVhsv(265, 78%, 38%)
CMYKcmyk(45.8%, 78.1%, 0%, 62.4%)
CIE-LABlab(16.06, 32.71, -38.64)
CIE-LCHlch(16.06, 50.62, 310.26°)
OKLaboklab(29.1% 0.0557 -0.1105)
OKLCHoklch(29.1% 0.124 296.7)
XYZxyz(3.7951, 2.1108, 11.2715)
Luminance0.0211 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341560 #416015
analogous
#151B60 #341560 #591560
triadic
#341560 #603415 #156034
tetradic
#341560 #60151B #416015 #156059
square
#341560 #60151B #416015 #156059
split-complementary
#341560 #605915 #1B6015
monochromatic
#0E0519 #190A2E #341560 #4F2092 #6A2BC4

Accessibility & contrast

On white

14.77
#341560 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341560 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341560
14.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341560#FFFFFF#000000##FFFFFF
##3415601.0014.771.4214.77
#FFFFFF14.771.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#282839
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341560;
/* rgb */ color: rgb(52, 21, 96);
/* oklch */ color: oklch(29.1% 0.124 296.7);
Tailwind
colors: {
  custom: {
    50: '#70568e',
    500: '#341560',
    950: '#000000',
  },
}
SCSS
$custom: #341560;
$custom-light: #70568e;
$custom-dark: #000000;
JSON
{
  "hex": "#341560",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 96
  },
  "hsl": {
    "h": 264.8,
    "s": 64.103,
    "l": 22.941
  },
  "oklch": {
    "l": 0.291,
    "c": 0.12378,
    "h": 296.7
  },
  "luminance": 0.02111
}

Semantic roles & 50–950 ramp

primary
#341560
secondary
#71973A
accent
#E741A2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341560

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

Preview Lab → · Contrast checker → · Palette generator →

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