#341570#341570

#341570 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.143 H 290.9°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#341570
RGBrgb(52, 21, 112)
HSLhsl(260, 68%, 26%)
HSVhsv(260, 81%, 44%)
CMYKcmyk(53.6%, 81.2%, 0%, 56.1%)
CIE-LABlab(17.63, 37.37, -46.57)
CIE-LCHlch(17.63, 59.71, 308.75°)
OKLaboklab(30.68% 0.0511 -0.1338)
OKLCHoklch(30.68% 0.143 290.9)
XYZxyz(4.6081, 2.4361, 15.5535)
Luminance0.0244 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341570 #517015
analogous
#152370 #341570 #611570
triadic
#341570 #703415 #157034
tetradic
#341570 #701523 #517015 #157061
square
#341570 #701523 #517015 #157061
split-complementary
#341570 #706115 #237015
monochromatic
#0C051A #1C0B3C #341570 #4C1FA4 #6429D7

Accessibility & contrast

On white

14.12
#341570 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341570 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341570
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341570#FFFFFF#000000##FFFFFF
##3415701.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D73
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#1F2F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341570;
/* rgb */ color: rgb(52, 21, 112);
/* oklch */ color: oklch(30.7% 0.143 290.9);
Tailwind
colors: {
  custom: {
    50: '#73579a',
    500: '#341570',
    950: '#000000',
  },
}
SCSS
$custom: #341570;
$custom-light: #73579a;
$custom-dark: #000000;
JSON
{
  "hex": "#341570",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 112
  },
  "hsl": {
    "h": 260.44,
    "s": 68.421,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30682,
    "c": 0.14324,
    "h": 290.9
  },
  "luminance": 0.02436
}

Semantic roles & 50–950 ramp

primary
#341570
secondary
#82A63B
accent
#EB3DB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341570

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

Preview Lab → · Contrast checker → · Palette generator →

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