#341490#341490

#341490 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 34.1% C 0.181 H 282.8°. Best body text is #FFFFFF at 12.74:1 contrast (WCAG AA passes).

Color values

HEX#341490
RGBrgb(52, 20, 144)
HSLhsl(255, 76%, 32%)
HSVhsv(255, 86%, 56%)
CMYKcmyk(63.9%, 86.1%, 0%, 43.5%)
CIE-LABlab(20.99, 47.08, -61.33)
CIE-LCHlch(20.99, 77.31, 307.51°)
OKLaboklab(34.05% 0.0403 -0.1769)
OKLCHoklch(34.05% 0.181 282.8)
XYZxyz(6.6988, 3.2435, 26.6532)
Luminance0.0324 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341490 #709014
analogous
#143290 #341490 #721490
triadic
#341490 #903414 #149034
tetradic
#341490 #901432 #709014 #149072
square
#341490 #901432 #709014 #149072
split-complementary
#341490 #907214 #329014
monochromatic
#0D0525 #210D5A #341490 #471BC6 #663BE4

Accessibility & contrast

On white

12.74
#341490 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#341490 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341490
12.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341490#FFFFFF#000000##FFFFFF
##3414901.0012.741.6512.74
#FFFFFF12.741.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003C55
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #341490;
/* rgb */ color: rgb(52, 20, 144);
/* oklch */ color: oklch(34.1% 0.181 282.8);
Tailwind
colors: {
  custom: {
    50: '#7958b2',
    500: '#341490',
    950: '#000000',
  },
}
SCSS
$custom: #341490;
$custom-light: #7958b2;
$custom-dark: #000000;
JSON
{
  "hex": "#341490",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 144
  },
  "hsl": {
    "h": 255.484,
    "s": 75.61,
    "l": 32.157
  },
  "oklch": {
    "l": 0.34053,
    "c": 0.18139,
    "h": 282.8
  },
  "luminance": 0.03244
}

Semantic roles & 50–950 ramp

primary
#341490
secondary
#A0C33D
accent
#F236C2
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341490

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

Preview Lab → · Contrast checker → · Palette generator →

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