#341999#341999

#341999 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.6% C 0.188 H 280.6°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#341999
RGBrgb(52, 25, 153)
HSLhsl(253, 72%, 35%)
HSVhsv(253, 84%, 60%)
CMYKcmyk(66%, 83.7%, 0%, 40%)
CIE-LABlab(22.74, 47.59, -64.00)
CIE-LCHlch(22.74, 79.76, 306.63°)
OKLaboklab(35.56% 0.0347 -0.1847)
OKLCHoklch(35.56% 0.188 280.6)
XYZxyz(7.5118, 3.7246, 30.4539)
Luminance0.0372 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341999 #7E9919
analogous
#193E99 #341999 #741999
triadic
#341999 #993419 #199934
tetradic
#341999 #99193E #7E9919 #199974
square
#341999 #99193E #7E9919 #199974
split-complementary
#341999 #997419 #3E9919
monochromatic
#100830 #221064 #341999 #4622CE #6B4BE2

Accessibility & contrast

On white

12.03
#341999 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#341999 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341999
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341999#FFFFFF#000000##FFFFFF
##3419991.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341999;
/* rgb */ color: rgb(52, 25, 153);
/* oklch */ color: oklch(35.6% 0.188 280.6);
Tailwind
colors: {
  custom: {
    50: '#7b5bb8',
    500: '#341999',
    950: '#000000',
  },
}
SCSS
$custom: #341999;
$custom-light: #7b5bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#341999",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 153
  },
  "hsl": {
    "h": 252.656,
    "s": 71.91,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35556,
    "c": 0.18796,
    "h": 280.6
  },
  "luminance": 0.03725
}

Semantic roles & 50–950 ramp

primary
#341999
secondary
#AAC34A
accent
#EF39C8
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341999

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

Preview Lab → · Contrast checker → · Palette generator →

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