#341481#341481

#341481 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.4% C 0.164 H 286.2°. Best body text is #FFFFFF at 13.44:1 contrast (WCAG AA passes).

Color values

HEX#341481
RGBrgb(52, 20, 129)
HSLhsl(258, 73%, 29%)
HSVhsv(258, 84%, 51%)
CMYKcmyk(59.7%, 84.5%, 0%, 49.4%)
CIE-LABlab(19.29, 42.78, -54.73)
CIE-LCHlch(19.29, 69.47, 308.01°)
OKLaboklab(32.38% 0.0459 -0.1577)
OKLCHoklch(32.38% 0.164 286.2)
XYZxyz(5.6276, 2.8150, 21.0114)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341481 #618114
analogous
#142B81 #341481 #6B1481
triadic
#341481 #813414 #148134
tetradic
#341481 #81142B #618114 #14816B
square
#341481 #81142B #618114 #14816B
split-complementary
#341481 #816B14 #2B8114
monochromatic
#0B041A #1F0C4C #341481 #491CB6 #6430DF

Accessibility & contrast

On white

13.44
#341481 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341481
13.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341481#FFFFFF#000000##FFFFFF
##3414811.0013.441.5613.44
#FFFFFF13.441.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002C7F
Tritanopia (blue-blind)
#0B354C
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341481;
/* rgb */ color: rgb(52, 20, 129);
/* oklch */ color: oklch(32.4% 0.164 286.2);
Tailwind
colors: {
  custom: {
    50: '#7657a7',
    500: '#341481',
    950: '#000000',
  },
}
SCSS
$custom: #341481;
$custom-light: #7657a7;
$custom-dark: #000000;
JSON
{
  "hex": "#341481",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 129
  },
  "hsl": {
    "h": 257.615,
    "s": 73.154,
    "l": 29.216
  },
  "oklch": {
    "l": 0.32379,
    "c": 0.1642,
    "h": 286.2
  },
  "luminance": 0.02815
}

Semantic roles & 50–950 ramp

primary
#341481
secondary
#92B63B
accent
#F038BA
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #341481

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

Preview Lab → · Contrast checker → · Palette generator →

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