#341880#341880

#341880 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.7% C 0.159 H 285.9°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#341880
RGBrgb(52, 24, 128)
HSLhsl(256, 68%, 30%)
HSVhsv(256, 81%, 50%)
CMYKcmyk(59.4%, 81.3%, 0%, 49.8%)
CIE-LABlab(19.81, 40.65, -53.24)
CIE-LCHlch(19.81, 66.99, 307.36°)
OKLaboklab(32.71% 0.0437 -0.1533)
OKLCHoklch(32.71% 0.159 285.9)
XYZxyz(5.6379, 2.9415, 20.6886)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341880 #648018
analogous
#183080 #341880 #681880
triadic
#341880 #803418 #188034
tetradic
#341880 #801830 #648018 #188068
square
#341880 #801830 #648018 #188068
split-complementary
#341880 #806818 #308018
monochromatic
#0A051A #1F0E4C #341880 #4922B4 #6439DA

Accessibility & contrast

On white

13.22
#341880 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#341880 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341880
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341880#FFFFFF#000000##FFFFFF
##3418801.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002D7E
Tritanopia (blue-blind)
#0C374C
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #341880;
/* rgb */ color: rgb(52, 24, 128);
/* oklch */ color: oklch(32.7% 0.159 285.9);
Tailwind
colors: {
  custom: {
    50: '#7659a6',
    500: '#341880',
    950: '#000000',
  },
}
SCSS
$custom: #341880;
$custom-light: #7659a6;
$custom-dark: #000000;
JSON
{
  "hex": "#341880",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 128
  },
  "hsl": {
    "h": 256.154,
    "s": 68.421,
    "l": 29.804
  },
  "oklch": {
    "l": 0.32707,
    "c": 0.15944,
    "h": 285.9
  },
  "luminance": 0.02942
}

Semantic roles & 50–950 ramp

primary
#341880
secondary
#95B440
accent
#EB3DBC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #341880

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

Preview Lab → · Contrast checker → · Palette generator →

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