#341554#341554

#341554 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.0% C 0.109 H 302.3°. Best body text is #FFFFFF at 15.20:1 contrast (WCAG AA passes).

Color values

HEX#341554
RGBrgb(52, 21, 84)
HSLhsl(270, 60%, 21%)
HSVhsv(270, 75%, 33%)
CMYKcmyk(38.1%, 75%, 0%, 67.1%)
CIE-LABlab(14.99, 29.28, -32.32)
CIE-LCHlch(14.99, 43.61, 312.18°)
OKLaboklab(28.01% 0.0583 -0.092)
OKLCHoklch(28.01% 0.109 302.3)
XYZxyz(3.2842, 1.9065, 8.5808)
Luminance0.0191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341554 #355415
analogous
#151554 #341554 #531554
triadic
#341554 #543415 #155434
tetradic
#341554 #541515 #355415 #155453
square
#341554 #541515 #355415 #155453
split-complementary
#341554 #545315 #155415
monochromatic
#0F0618 #160923 #341554 #522185 #712DB6

Accessibility & contrast

On white

15.20
#341554 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#341554 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341554
15.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341554#FFFFFF#000000##FFFFFF
##3415541.0015.201.3815.20
#FFFFFF15.201.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002556
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#2D2432
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341554;
/* rgb */ color: rgb(52, 21, 84);
/* oklch */ color: oklch(28.0% 0.109 302.3);
Tailwind
colors: {
  custom: {
    50: '#6f5585',
    500: '#341554',
    950: '#000000',
  },
}
SCSS
$custom: #341554;
$custom-light: #6f5585;
$custom-dark: #000000;
JSON
{
  "hex": "#341554",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 84
  },
  "hsl": {
    "h": 269.524,
    "s": 60,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28007,
    "c": 0.10887,
    "h": 302.3
  },
  "luminance": 0.01906
}

Semantic roles & 50–950 ramp

primary
#341554
secondary
#638C39
accent
#E34595
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341554

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

Preview Lab → · Contrast checker → · Palette generator →

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