#341550#341550

#341550 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.104 H 304.5°. Best body text is #FFFFFF at 15.34:1 contrast (WCAG AA passes).

Color values

HEX#341550
RGBrgb(52, 21, 80)
HSLhsl(272, 58%, 20%)
HSVhsv(272, 74%, 31%)
CMYKcmyk(35%, 73.7%, 0%, 68.6%)
CIE-LABlab(14.66, 28.16, -30.14)
CIE-LCHlch(14.66, 41.25, 313.06°)
OKLaboklab(27.66% 0.0589 -0.0856)
OKLCHoklch(27.66% 0.104 304.5)
XYZxyz(3.1320, 1.8456, 7.7791)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341550 #315015
analogous
#161550 #341550 #50154F
triadic
#341550 #503415 #155034
tetradic
#341550 #501615 #315015 #154F50
square
#341550 #501615 #315015 #154F50
split-complementary
#341550 #4F5015 #155016
monochromatic
#100618 #140820 #341550 #542280 #732EB1

Accessibility & contrast

On white

15.34
#341550 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#341550 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341550
15.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341550#FFFFFF#000000##FFFFFF
##3415501.0015.341.3715.34
#FFFFFF15.341.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002452
Deuteranopia (green-blind)
#03254F
Tritanopia (blue-blind)
#2F2230
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341550;
/* rgb */ color: rgb(52, 21, 80);
/* oklch */ color: oklch(27.7% 0.104 304.5);
Tailwind
colors: {
  custom: {
    50: '#6e5581',
    500: '#341550',
    950: '#000000',
  },
}
SCSS
$custom: #341550;
$custom-light: #6e5581;
$custom-dark: #000000;
JSON
{
  "hex": "#341550",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 80
  },
  "hsl": {
    "h": 271.525,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.27663,
    "c": 0.10385,
    "h": 304.5
  },
  "luminance": 0.01846
}

Semantic roles & 50–950 ramp

primary
#341550
secondary
#5E8839
accent
#E24690
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #341550

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

Preview Lab → · Contrast checker → · Palette generator →

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