#341671#341671

#341671 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.143 H 290.4°. Best body text is #FFFFFF at 14.01:1 contrast (WCAG AA passes).

Color values

HEX#341671
RGBrgb(52, 22, 113)
HSLhsl(260, 67%, 26%)
HSVhsv(260, 81%, 44%)
CMYKcmyk(54%, 80.5%, 0%, 55.7%)
CIE-LABlab(17.90, 37.18, -46.77)
CIE-LCHlch(17.90, 59.75, 308.48°)
OKLaboklab(30.9% 0.05 -0.1344)
OKLCHoklch(30.9% 0.143 290.4)
XYZxyz(4.6829, 2.4959, 15.8546)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341671 #537116
analogous
#162671 #341671 #621671
triadic
#341671 #713416 #167134
tetradic
#341671 #711626 #537116 #167162
square
#341671 #711626 #537116 #167162
split-complementary
#341671 #716216 #267116
monochromatic
#0C051A #1C0C3E #341671 #4C20A4 #642CD6

Accessibility & contrast

On white

14.01
#341671 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341671 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341671
14.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341671#FFFFFF#000000##FFFFFF
##3416711.0014.011.5014.01
#FFFFFF14.011.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#002A6F
Tritanopia (blue-blind)
#1E3043
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341671;
/* rgb */ color: rgb(52, 22, 113);
/* oklch */ color: oklch(30.9% 0.143 290.4);
Tailwind
colors: {
  custom: {
    50: '#73579b',
    500: '#341671',
    950: '#000000',
  },
}
SCSS
$custom: #341671;
$custom-light: #73579b;
$custom-dark: #000000;
JSON
{
  "hex": "#341671",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 113
  },
  "hsl": {
    "h": 259.78,
    "s": 67.407,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30904,
    "c": 0.14339,
    "h": 290.4
  },
  "luminance": 0.02496
}

Semantic roles & 50–950 ramp

primary
#341671
secondary
#84A73C
accent
#EA3EB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341671

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

Preview Lab → · Contrast checker → · Palette generator →

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