#341471#341471

#341471 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.7% C 0.145 H 290.8°. Best body text is #FFFFFF at 14.15:1 contrast (WCAG AA passes).

Color values

HEX#341471
RGBrgb(52, 20, 113)
HSLhsl(261, 70%, 26%)
HSVhsv(261, 82%, 44%)
CMYKcmyk(54%, 82.3%, 0%, 55.7%)
CIE-LABlab(17.56, 38.15, -47.32)
CIE-LCHlch(17.56, 60.78, 308.87°)
OKLaboklab(30.67% 0.0515 -0.136)
OKLCHoklch(30.67% 0.145 290.8)
XYZxyz(4.6461, 2.4224, 15.8424)
Luminance0.0242 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341471 #517114
analogous
#142271 #341471 #621471
triadic
#341471 #713414 #147134
tetradic
#341471 #711422 #517114 #147162
square
#341471 #711422 #517114 #147162
split-complementary
#341471 #716214 #227114
monochromatic
#0C051A #1C0B3D #341471 #4C1DA5 #6427D9

Accessibility & contrast

On white

14.15
#341471 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341471 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341471
14.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341471#FFFFFF#000000##FFFFFF
##3414711.0014.151.4814.15
#FFFFFF14.151.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D74
Deuteranopia (green-blind)
#00296F
Tritanopia (blue-blind)
#1E2F42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341471;
/* rgb */ color: rgb(52, 20, 113);
/* oklch */ color: oklch(30.7% 0.145 290.8);
Tailwind
colors: {
  custom: {
    50: '#73569b',
    500: '#341471',
    950: '#000000',
  },
}
SCSS
$custom: #341471;
$custom-light: #73569b;
$custom-dark: #000000;
JSON
{
  "hex": "#341471",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 113
  },
  "hsl": {
    "h": 260.645,
    "s": 69.925,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30669,
    "c": 0.14545,
    "h": 290.8
  },
  "luminance": 0.02423
}

Semantic roles & 50–950 ramp

primary
#341471
secondary
#82A739
accent
#ED3BB0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341471

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

Preview Lab → · Contrast checker → · Palette generator →

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