#341899#341899

#341899 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.5% C 0.189 H 280.7°. Best body text is #FFFFFF at 12.09:1 contrast (WCAG AA passes).

Color values

HEX#341899
RGBrgb(52, 24, 153)
HSLhsl(253, 73%, 35%)
HSVhsv(253, 84%, 60%)
CMYKcmyk(66%, 84.3%, 0%, 40%)
CIE-LABlab(22.59, 48.02, -64.24)
CIE-LCHlch(22.59, 80.21, 306.78°)
OKLaboklab(35.46% 0.0352 -0.1854)
OKLCHoklch(35.46% 0.189 280.7)
XYZxyz(7.4908, 3.6827, 30.4469)
Luminance0.0368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341899 #7D9918
analogous
#183D99 #341899 #741899
triadic
#341899 #993418 #189934
tetradic
#341899 #99183D #7D9918 #189974
square
#341899 #99183D #7D9918 #189974
split-complementary
#341899 #997418 #3D9918
monochromatic
#10072F #221064 #341899 #4620CE #6A49E2

Accessibility & contrast

On white

12.09
#341899 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#341899 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341899
12.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341899#FFFFFF#000000##FFFFFF
##3418991.0012.091.7412.09
#FFFFFF12.091.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A9C
Deuteranopia (green-blind)
#003197
Tritanopia (blue-blind)
#00415A
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #341899;
/* rgb */ color: rgb(52, 24, 153);
/* oklch */ color: oklch(35.5% 0.189 280.7);
Tailwind
colors: {
  custom: {
    50: '#7b5bb8',
    500: '#341899',
    950: '#000000',
  },
}
SCSS
$custom: #341899;
$custom-light: #7b5bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#341899",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 153
  },
  "hsl": {
    "h": 253.023,
    "s": 72.881,
    "l": 34.706
  },
  "oklch": {
    "l": 0.35455,
    "c": 0.18872,
    "h": 280.7
  },
  "luminance": 0.03683
}

Semantic roles & 50–950 ramp

primary
#341899
secondary
#A9C449
accent
#F038C8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341899

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

Preview Lab → · Contrast checker → · Palette generator →

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