#341950#341950

#341950 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.3% C 0.098 H 303.3°. Best body text is #FFFFFF at 14.99:1 contrast (WCAG AA passes).

Color values

HEX#341950
RGBrgb(52, 25, 80)
HSLhsl(269, 52%, 21%)
HSVhsv(269, 69%, 31%)
CMYKcmyk(35%, 68.8%, 0%, 68.6%)
CIE-LABlab(15.51, 25.82, -28.75)
CIE-LCHlch(15.51, 38.65, 311.92°)
OKLaboklab(28.28% 0.0535 -0.0815)
OKLCHoklch(28.28% 0.098 303.3)
XYZxyz(3.2114, 2.0045, 7.8056)
Luminance0.0200 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341950 #355019
analogous
#191950 #341950 #4F1950
triadic
#341950 #503419 #195034
tetradic
#341950 #501919 #355019 #19504F
square
#341950 #501919 #355019 #19504F
split-complementary
#341950 #504F19 #195019
monochromatic
#0F0717 #160A21 #341950 #52287F #7136AD

Accessibility & contrast

On white

14.99
#341950 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#341950 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341950
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341950#FFFFFF#000000##FFFFFF
##3419501.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002652
Deuteranopia (green-blind)
#09274F
Tritanopia (blue-blind)
#2F2531
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341950;
/* rgb */ color: rgb(52, 25, 80);
/* oklch */ color: oklch(28.3% 0.098 303.3);
Tailwind
colors: {
  custom: {
    50: '#6e5781',
    500: '#341950',
    950: '#000000',
  },
}
SCSS
$custom: #341950;
$custom-light: #6e5781;
$custom-dark: #000000;
JSON
{
  "hex": "#341950",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 80
  },
  "hsl": {
    "h": 269.455,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.28279,
    "c": 0.09752,
    "h": 303.3
  },
  "luminance": 0.02005
}

Semantic roles & 50–950 ramp

primary
#341950
secondary
#63863E
accent
#DC4C95
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #341950

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

Preview Lab → · Contrast checker → · Palette generator →

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