#341776#341776

#341776 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.148 H 288.7°. Best body text is #FFFFFF at 13.72:1 contrast (WCAG AA passes).

Color values

HEX#341776
RGBrgb(52, 23, 118)
HSLhsl(258, 67%, 28%)
HSVhsv(258, 81%, 46%)
CMYKcmyk(55.9%, 80.5%, 0%, 53.7%)
CIE-LABlab(18.59, 38.16, -48.87)
CIE-LCHlch(18.59, 62.00, 307.99°)
OKLaboklab(31.54% 0.0476 -0.1406)
OKLCHoklch(31.54% 0.148 288.7)
XYZxyz(4.9916, 2.6506, 17.3846)
Luminance0.0265 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341776 #597617
analogous
#172976 #341776 #641776
triadic
#341776 #763417 #177634
tetradic
#341776 #761729 #597617 #177664
square
#341776 #761729 #597617 #177664
split-complementary
#341776 #766417 #297617
monochromatic
#0B051A #1D0D43 #341776 #4B21A9 #6331D7

Accessibility & contrast

On white

13.72
#341776 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341776
13.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341776#FFFFFF#000000##FFFFFF
##3417761.0013.721.5313.72
#FFFFFF13.721.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341776;
/* rgb */ color: rgb(52, 23, 118);
/* oklch */ color: oklch(31.5% 0.148 288.7);
Tailwind
colors: {
  custom: {
    50: '#74589e',
    500: '#341776',
    950: '#000000',
  },
}
SCSS
$custom: #341776;
$custom-light: #74589e;
$custom-dark: #000000;
JSON
{
  "hex": "#341776",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 118
  },
  "hsl": {
    "h": 258.316,
    "s": 67.376,
    "l": 27.647
  },
  "oklch": {
    "l": 0.31539,
    "c": 0.1484,
    "h": 288.7
  },
  "luminance": 0.02651
}

Semantic roles & 50–950 ramp

primary
#341776
secondary
#8AAB3E
accent
#EA3EB6
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341776

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

Preview Lab → · Contrast checker → · Palette generator →

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