#341A7A#341A7A

#341A7A is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.3% C 0.150 H 287.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#341A7A
RGBrgb(52, 26, 122)
HSLhsl(256, 65%, 29%)
HSVhsv(256, 79%, 48%)
CMYKcmyk(57.4%, 78.7%, 0%, 52.2%)
CIE-LABlab(19.53, 37.84, -49.88)
CIE-LCHlch(19.53, 62.61, 307.19°)
OKLaboklab(32.32% 0.044 -0.1435)
OKLCHoklch(32.32% 0.15 287.1)
XYZxyz(5.2974, 2.8737, 18.6841)
Luminance0.0287 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A7A #607A1A
analogous
#1A307A #341A7A #641A7A
triadic
#341A7A #7A341A #1A7A34
tetradic
#341A7A #7A1A30 #607A1A #1A7A64
square
#341A7A #7A1A30 #607A1A #1A7A64
split-complementary
#341A7A #7A641A #307A1A
monochromatic
#0B0519 #1E0F48 #341A7A #4A25AC #6439D5

Accessibility & contrast

On white

13.34
#341A7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#341A7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A7A
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A7A#FFFFFF#000000##FFFFFF
##341A7A1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#153549
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341a7a;
/* rgb */ color: rgb(52, 26, 122);
/* oklch */ color: oklch(32.3% 0.150 287.1);
Tailwind
colors: {
  custom: {
    50: '#745aa1',
    500: '#341a7a',
    950: '#000000',
  },
}
SCSS
$custom: #341a7a;
$custom-light: #745aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#341a7a",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 122
  },
  "hsl": {
    "h": 256.25,
    "s": 64.865,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32324,
    "c": 0.15014,
    "h": 287.1
  },
  "luminance": 0.02874
}

Semantic roles & 50–950 ramp

primary
#341A7A
secondary
#91AE41
accent
#E840BA
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #341A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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