#341677#341677

#341677 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.5% C 0.151 H 288.6°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#341677
RGBrgb(52, 22, 119)
HSLhsl(259, 69%, 28%)
HSVhsv(259, 82%, 47%)
CMYKcmyk(56.3%, 81.5%, 0%, 53.3%)
CIE-LABlab(18.52, 38.95, -49.62)
CIE-LCHlch(18.52, 63.08, 308.13°)
OKLaboklab(31.52% 0.048 -0.1427)
OKLCHoklch(31.52% 0.151 288.6)
XYZxyz(5.0319, 2.6355, 17.6928)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341677 #597716
analogous
#162877 #341677 #651677
triadic
#341677 #773416 #167734
tetradic
#341677 #771628 #597716 #167765
square
#341677 #771628 #597716 #167765
split-complementary
#341677 #776516 #287716
monochromatic
#0B051A #1D0C43 #341677 #4B20AB #632FD9

Accessibility & contrast

On white

13.75
#341677 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#341677 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341677
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341677#FFFFFF#000000##FFFFFF
##3416771.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F7A
Deuteranopia (green-blind)
#002B75
Tritanopia (blue-blind)
#193246
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341677;
/* rgb */ color: rgb(52, 22, 119);
/* oklch */ color: oklch(31.5% 0.151 288.6);
Tailwind
colors: {
  custom: {
    50: '#74589f',
    500: '#341677',
    950: '#000000',
  },
}
SCSS
$custom: #341677;
$custom-light: #74589f;
$custom-dark: #000000;
JSON
{
  "hex": "#341677",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 119
  },
  "hsl": {
    "h": 258.557,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31524,
    "c": 0.15061,
    "h": 288.6
  },
  "luminance": 0.02636
}

Semantic roles & 50–950 ramp

primary
#341677
secondary
#8AAC3C
accent
#EC3CB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #341677

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

Preview Lab → · Contrast checker → · Palette generator →

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