#341076#341076

#341076 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.155 H 289.8°. Best body text is #FFFFFF at 14.17:1 contrast (WCAG AA passes).

Color values

HEX#341076
RGBrgb(52, 16, 118)
HSLhsl(261, 76%, 26%)
HSVhsv(261, 86%, 46%)
CMYKcmyk(55.9%, 86.4%, 0%, 53.7%)
CIE-LABlab(17.50, 41.32, -50.66)
CIE-LCHlch(17.50, 65.38, 309.20°)
OKLaboklab(30.79% 0.0525 -0.1457)
OKLCHoklch(30.79% 0.155 289.8)
XYZxyz(4.8705, 2.4084, 17.3443)
Luminance0.0241 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341076 #527610
analogous
#101F76 #341076 #671076
triadic
#341076 #763410 #107634
tetradic
#341076 #76101F #527610 #107667
square
#341076 #76101F #527610 #107667
split-complementary
#341076 #766710 #1F7610
monochromatic
#0C041B #1C0940 #341076 #4C17AC #6420E1

Accessibility & contrast

On white

14.17
#341076 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341076 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341076
14.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341076#FFFFFF#000000##FFFFFF
##3410761.0014.171.4814.17
#FFFFFF14.171.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D79
Deuteranopia (green-blind)
#002874
Tritanopia (blue-blind)
#1A2F45
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341076;
/* rgb */ color: rgb(52, 16, 118);
/* oklch */ color: oklch(30.8% 0.155 289.8);
Tailwind
colors: {
  custom: {
    50: '#74559f',
    500: '#341076',
    950: '#000000',
  },
}
SCSS
$custom: #341076;
$custom-light: #74559f;
$custom-dark: #000000;
JSON
{
  "hex": "#341076",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 118
  },
  "hsl": {
    "h": 261.176,
    "s": 76.119,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30786,
    "c": 0.15488,
    "h": 289.8
  },
  "luminance": 0.02409
}

Semantic roles & 50–950 ramp

primary
#341076
secondary
#83AD35
accent
#F335B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #341076

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

Preview Lab → · Contrast checker → · Palette generator →

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