#341576#341576

#341576 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.3% C 0.150 H 289.1°. Best body text is #FFFFFF at 13.86:1 contrast (WCAG AA passes).

Color values

HEX#341576
RGBrgb(52, 21, 118)
HSLhsl(259, 70%, 27%)
HSVhsv(259, 82%, 46%)
CMYKcmyk(55.9%, 82.2%, 0%, 53.7%)
CIE-LABlab(18.25, 39.13, -49.42)
CIE-LCHlch(18.25, 63.04, 308.37°)
OKLaboklab(31.31% 0.0491 -0.1422)
OKLCHoklch(31.31% 0.15 289.1)
XYZxyz(4.9534, 2.5742, 17.3719)
Luminance0.0257 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341576 #577615
analogous
#152776 #341576 #641576
triadic
#341576 #763415 #157634
tetradic
#341576 #761527 #577615 #157664
square
#341576 #761527 #577615 #157664
split-complementary
#341576 #766415 #277615
monochromatic
#0B051A #1D0C42 #341576 #4B1EAA #632CD9

Accessibility & contrast

On white

13.86
#341576 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#341576 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341576
13.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341576#FFFFFF#000000##FFFFFF
##3415761.0013.861.5113.86
#FFFFFF13.861.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#1A3146
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341576;
/* rgb */ color: rgb(52, 21, 118);
/* oklch */ color: oklch(31.3% 0.150 289.1);
Tailwind
colors: {
  custom: {
    50: '#74579e',
    500: '#341576',
    950: '#000000',
  },
}
SCSS
$custom: #341576;
$custom-light: #74579e;
$custom-dark: #000000;
JSON
{
  "hex": "#341576",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 118
  },
  "hsl": {
    "h": 259.175,
    "s": 69.784,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31305,
    "c": 0.1504,
    "h": 289.1
  },
  "luminance": 0.02574
}

Semantic roles & 50–950 ramp

primary
#341576
secondary
#88AC3B
accent
#ED3BB4
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341576

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

Preview Lab → · Contrast checker → · Palette generator →

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