#341A80#341A80

#341A80 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.9% C 0.157 H 285.6°. Best body text is #FFFFFF at 13.08:1 contrast (WCAG AA passes).

Color values

HEX#341A80
RGBrgb(52, 26, 128)
HSLhsl(255, 66%, 30%)
HSVhsv(255, 80%, 50%)
CMYKcmyk(59.4%, 79.7%, 0%, 49.8%)
CIE-LABlab(20.15, 39.66, -52.68)
CIE-LCHlch(20.15, 65.94, 306.98°)
OKLaboklab(32.95% 0.0423 -0.1517)
OKLCHoklch(32.95% 0.157 285.6)
XYZxyz(5.6807, 3.0270, 20.7028)
Luminance0.0303 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A80 #66801A
analogous
#1A3380 #341A80 #671A80
triadic
#341A80 #80341A #1A8034
tetradic
#341A80 #801A33 #66801A #1A8067
square
#341A80 #801A33 #66801A #1A8067
split-complementary
#341A80 #80671A #33801A
monochromatic
#0B051A #1F104D #341A80 #4924B3 #643DD8

Accessibility & contrast

On white

13.08
#341A80 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#341A80 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A80
13.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A80#FFFFFF#000000##FFFFFF
##341A801.0013.081.6113.08
#FFFFFF13.081.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003383
Deuteranopia (green-blind)
#002E7E
Tritanopia (blue-blind)
#0C374C
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #341a80;
/* rgb */ color: rgb(52, 26, 128);
/* oklch */ color: oklch(32.9% 0.157 285.6);
Tailwind
colors: {
  custom: {
    50: '#755aa6',
    500: '#341a80',
    950: '#000000',
  },
}
SCSS
$custom: #341a80;
$custom-light: #755aa6;
$custom-dark: #000000;
JSON
{
  "hex": "#341a80",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 128
  },
  "hsl": {
    "h": 255.294,
    "s": 66.234,
    "l": 30.196
  },
  "oklch": {
    "l": 0.32946,
    "c": 0.15749,
    "h": 285.6
  },
  "luminance": 0.03027
}

Semantic roles & 50–950 ramp

primary
#341A80
secondary
#97B442
accent
#E93FBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #341A80

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

Preview Lab → · Contrast checker → · Palette generator →

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