#341676#341676

#341676 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.149 H 288.9°. Best body text is #FFFFFF at 13.79:1 contrast (WCAG AA passes).

Color values

HEX#341676
RGBrgb(52, 22, 118)
HSLhsl(259, 69%, 27%)
HSVhsv(259, 81%, 46%)
CMYKcmyk(55.9%, 81.4%, 0%, 53.7%)
CIE-LABlab(18.42, 38.65, -49.15)
CIE-LCHlch(18.42, 62.53, 308.18°)
OKLaboklab(31.42% 0.0484 -0.1414)
OKLCHoklch(31.42% 0.149 288.9)
XYZxyz(4.9721, 2.6116, 17.3781)
Luminance0.0261 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341676 #587616
analogous
#162876 #341676 #641676
triadic
#341676 #763416 #167634
tetradic
#341676 #761628 #587616 #167664
square
#341676 #761628 #587616 #167664
split-complementary
#341676 #766416 #287616
monochromatic
#0B051A #1D0C42 #341676 #4B20AA #632ED8

Accessibility & contrast

On white

13.79
#341676 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#341676 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341676
13.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341676#FFFFFF#000000##FFFFFF
##3416761.0013.791.5213.79
#FFFFFF13.791.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F79
Deuteranopia (green-blind)
#002A74
Tritanopia (blue-blind)
#1A3246
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341676;
/* rgb */ color: rgb(52, 22, 118);
/* oklch */ color: oklch(31.4% 0.149 288.9);
Tailwind
colors: {
  custom: {
    50: '#74579e',
    500: '#341676',
    950: '#000000',
  },
}
SCSS
$custom: #341676;
$custom-light: #74579e;
$custom-dark: #000000;
JSON
{
  "hex": "#341676",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 118
  },
  "hsl": {
    "h": 258.75,
    "s": 68.571,
    "l": 27.451
  },
  "oklch": {
    "l": 0.3142,
    "c": 0.14941,
    "h": 288.9
  },
  "luminance": 0.02612
}

Semantic roles & 50–950 ramp

primary
#341676
secondary
#89AC3C
accent
#EB3CB5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341676

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

Preview Lab → · Contrast checker → · Palette generator →

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