#341690#341690

#341690 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 34.2% C 0.180 H 282.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#341690
RGBrgb(52, 22, 144)
HSLhsl(255, 73%, 33%)
HSVhsv(255, 85%, 56%)
CMYKcmyk(63.9%, 84.7%, 0%, 43.5%)
CIE-LABlab(21.27, 46.26, -60.87)
CIE-LCHlch(21.27, 76.45, 307.23°)
OKLaboklab(34.24% 0.0393 -0.1756)
OKLCHoklch(34.24% 0.18 282.6)
XYZxyz(6.7356, 3.3170, 26.6655)
Luminance0.0332 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341690 #729016
analogous
#163590 #341690 #711690
triadic
#341690 #903416 #169034
tetradic
#341690 #901635 #729016 #169071
square
#341690 #901635 #729016 #169071
split-complementary
#341690 #907116 #359016
monochromatic
#0E0626 #210E5B #341690 #471EC5 #673FE2

Accessibility & contrast

On white

12.62
#341690 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#341690 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341690
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341690#FFFFFF#000000##FFFFFF
##3416901.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #341690;
/* rgb */ color: rgb(52, 22, 144);
/* oklch */ color: oklch(34.2% 0.180 282.6);
Tailwind
colors: {
  custom: {
    50: '#7959b2',
    500: '#341690',
    950: '#000000',
  },
}
SCSS
$custom: #341690;
$custom-light: #7959b2;
$custom-dark: #000000;
JSON
{
  "hex": "#341690",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 144
  },
  "hsl": {
    "h": 254.754,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.34244,
    "c": 0.1799,
    "h": 282.6
  },
  "luminance": 0.03317
}

Semantic roles & 50–950 ramp

primary
#341690
secondary
#A2C240
accent
#F038C3
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341690

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

Preview Lab → · Contrast checker → · Palette generator →

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