#341A76#341A76

#341A76 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.145 H 288.1°. Best body text is #FFFFFF at 13.50:1 contrast (WCAG AA passes).

Color values

HEX#341A76
RGBrgb(52, 26, 118)
HSLhsl(257, 64%, 28%)
HSVhsv(257, 78%, 46%)
CMYKcmyk(55.9%, 78%, 0%, 53.7%)
CIE-LABlab(19.13, 36.62, -47.98)
CIE-LCHlch(19.13, 60.36, 307.35°)
OKLaboklab(31.92% 0.0452 -0.138)
OKLCHoklch(31.92% 0.145 288.1)
XYZxyz(5.0546, 2.7766, 17.4056)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A76 #5C761A
analogous
#1A2E76 #341A76 #621A76
triadic
#341A76 #76341A #1A7634
tetradic
#341A76 #761A2E #5C761A #1A7662
square
#341A76 #761A2E #5C761A #1A7662
split-complementary
#341A76 #76621A #2E761A
monochromatic
#0B0619 #1E0F44 #341A76 #4A25A8 #6337D3

Accessibility & contrast

On white

13.50
#341A76 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#341A76 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A76
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A76#FFFFFF#000000##FFFFFF
##341A761.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003079
Deuteranopia (green-blind)
#002C74
Tritanopia (blue-blind)
#193347
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341a76;
/* rgb */ color: rgb(52, 26, 118);
/* oklch */ color: oklch(31.9% 0.145 288.1);
Tailwind
colors: {
  custom: {
    50: '#745a9e',
    500: '#341a76',
    950: '#000000',
  },
}
SCSS
$custom: #341a76;
$custom-light: #745a9e;
$custom-dark: #000000;
JSON
{
  "hex": "#341a76",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 118
  },
  "hsl": {
    "h": 256.957,
    "s": 63.889,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31917,
    "c": 0.14519,
    "h": 288.1
  },
  "luminance": 0.02777
}

Semantic roles & 50–950 ramp

primary
#341A76
secondary
#8DAB41
accent
#E741B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341A76

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

Preview Lab → · Contrast checker → · Palette generator →

#341A76 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva