#341071#341071

#341071 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.149 H 291.4°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#341071
RGBrgb(52, 16, 113)
HSLhsl(262, 75%, 25%)
HSVhsv(262, 86%, 44%)
CMYKcmyk(54%, 85.8%, 0%, 55.7%)
CIE-LABlab(16.95, 39.92, -48.33)
CIE-LCHlch(16.95, 62.68, 309.56°)
OKLaboklab(30.25% 0.0544 -0.1389)
OKLCHoklch(30.25% 0.149 291.4)
XYZxyz(4.5812, 2.2927, 15.8207)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341071 #4D7110
analogous
#101C71 #341071 #641071
triadic
#341071 #713410 #107134
tetradic
#341071 #71101C #4D7110 #107164
square
#341071 #71101C #4D7110 #107164
split-complementary
#341071 #716410 #1C7110
monochromatic
#0C041B #1B083B #341071 #4D18A7 #651FDC

Accessibility & contrast

On white

14.40
#341071 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341071 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341071
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341071#FFFFFF#000000##FFFFFF
##3410711.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B74
Deuteranopia (green-blind)
#00286F
Tritanopia (blue-blind)
#1E2D42
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341071;
/* rgb */ color: rgb(52, 16, 113);
/* oklch */ color: oklch(30.2% 0.149 291.4);
Tailwind
colors: {
  custom: {
    50: '#74549b',
    500: '#341071',
    950: '#000000',
  },
}
SCSS
$custom: #341071;
$custom-light: #74549b;
$custom-dark: #000000;
JSON
{
  "hex": "#341071",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 113
  },
  "hsl": {
    "h": 262.268,
    "s": 75.194,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30247,
    "c": 0.14918,
    "h": 291.4
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#341071
secondary
#7DA934
accent
#F236AC
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341071

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

Preview Lab → · Contrast checker → · Palette generator →

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