#341376#341376

#341376 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.152 H 289.4°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#341376
RGBrgb(52, 19, 118)
HSLhsl(260, 72%, 27%)
HSVhsv(260, 84%, 46%)
CMYKcmyk(55.9%, 83.9%, 0%, 53.7%)
CIE-LABlab(17.93, 40.05, -49.94)
CIE-LCHlch(17.93, 64.01, 308.73°)
OKLaboklab(31.09% 0.0505 -0.1436)
OKLCHoklch(31.09% 0.152 289.4)
XYZxyz(4.9181, 2.5036, 17.3601)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341376 #557613
analogous
#132476 #341376 #661376
triadic
#341376 #763413 #137634
tetradic
#341376 #761324 #557613 #137666
square
#341376 #761324 #557613 #137666
split-complementary
#341376 #766613 #247613
monochromatic
#0C041A #1D0B41 #341376 #4B1BAB #6427DC

Accessibility & contrast

On white

13.99
#341376 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341376 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341376
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341376#FFFFFF#000000##FFFFFF
##3413761.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E79
Deuteranopia (green-blind)
#002974
Tritanopia (blue-blind)
#1A3045
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341376;
/* rgb */ color: rgb(52, 19, 118);
/* oklch */ color: oklch(31.1% 0.152 289.4);
Tailwind
colors: {
  custom: {
    50: '#74569f',
    500: '#341376',
    950: '#000000',
  },
}
SCSS
$custom: #341376;
$custom-light: #74569f;
$custom-dark: #000000;
JSON
{
  "hex": "#341376",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 118
  },
  "hsl": {
    "h": 260,
    "s": 72.263,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31086,
    "c": 0.15228,
    "h": 289.4
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#341376
secondary
#86AC39
accent
#EF39B2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030F
muted
#7B787E

Preview Lab

Preview with #341376

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

Preview Lab → · Contrast checker → · Palette generator →

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