#341C71#341C71

#341C71 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.7% C 0.137 H 289.1°. Best body text is #FFFFFF at 13.54:1 contrast (WCAG AA passes).

Color values

HEX#341C71
RGBrgb(52, 28, 113)
HSLhsl(257, 60%, 28%)
HSVhsv(257, 75%, 44%)
CMYKcmyk(54%, 75.2%, 0%, 55.7%)
CIE-LABlab(19.02, 33.99, -44.93)
CIE-LCHlch(19.02, 56.34, 307.11°)
OKLaboklab(31.7% 0.0447 -0.129)
OKLCHoklch(31.7% 0.137 289.1)
XYZxyz(4.8112, 2.7526, 15.8974)
Luminance0.0275 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C71 #59711C
analogous
#1C2F71 #341C71 #5E1C71
triadic
#341C71 #71341C #1C7134
tetradic
#341C71 #711C2F #59711C #1C715E
square
#341C71 #711C2F #59711C #1C715E
split-complementary
#341C71 #715E1C #2F711C
monochromatic
#0B0619 #1D1040 #341C71 #4B28A2 #6339CE

Accessibility & contrast

On white

13.54
#341C71 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.55
#341C71 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C71
13.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C71#FFFFFF#000000##FFFFFF
##341C711.0013.541.5513.54
#FFFFFF13.541.0021.001.00
#0000001.5521.001.0021.00
##FFFFFF13.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003073
Deuteranopia (green-blind)
#002C6F
Tritanopia (blue-blind)
#1E3244
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341c71;
/* rgb */ color: rgb(52, 28, 113);
/* oklch */ color: oklch(31.7% 0.137 289.1);
Tailwind
colors: {
  custom: {
    50: '#735b9b',
    500: '#341c71',
    950: '#000000',
  },
}
SCSS
$custom: #341c71;
$custom-light: #735b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#341c71",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 113
  },
  "hsl": {
    "h": 256.941,
    "s": 60.284,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31695,
    "c": 0.13656,
    "h": 289.1
  },
  "luminance": 0.02753
}

Semantic roles & 50–950 ramp

primary
#341C71
secondary
#8AA643
accent
#E344B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341C71

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

Preview Lab → · Contrast checker → · Palette generator →

#341C71 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva