#341480#341480

#341480 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.163 H 286.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#341480
RGBrgb(52, 20, 128)
HSLhsl(258, 73%, 29%)
HSVhsv(258, 84%, 50%)
CMYKcmyk(59.4%, 84.4%, 0%, 49.8%)
CIE-LABlab(19.18, 42.49, -54.28)
CIE-LCHlch(19.18, 68.93, 308.05°)
OKLaboklab(32.27% 0.0462 -0.1563)
OKLCHoklch(32.27% 0.163 286.5)
XYZxyz(5.5614, 2.7886, 20.6631)
Luminance0.0279 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341480 #608014
analogous
#142A80 #341480 #6A1480
triadic
#341480 #803414 #148034
tetradic
#341480 #80142A #608014 #14806A
square
#341480 #80142A #608014 #14806A
split-complementary
#341480 #806A14 #2A8014
monochromatic
#0B041A #1E0C4B #341480 #4A1CB5 #6430DF

Accessibility & contrast

On white

13.48
#341480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#341480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341480
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341480#FFFFFF#000000##FFFFFF
##3414801.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003183
Deuteranopia (green-blind)
#002B7E
Tritanopia (blue-blind)
#0D354B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341480;
/* rgb */ color: rgb(52, 20, 128);
/* oklch */ color: oklch(32.3% 0.163 286.5);
Tailwind
colors: {
  custom: {
    50: '#7657a6',
    500: '#341480',
    950: '#000000',
  },
}
SCSS
$custom: #341480;
$custom-light: #7657a6;
$custom-dark: #000000;
JSON
{
  "hex": "#341480",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 257.778,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.16303,
    "h": 286.5
  },
  "luminance": 0.02789
}

Semantic roles & 50–950 ramp

primary
#341480
secondary
#91B53B
accent
#F038B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #341480

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

Preview Lab → · Contrast checker → · Palette generator →

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