#341A93#341A93

#341A93 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.180 H 281.6°. Best body text is #FFFFFF at 12.24:1 contrast (WCAG AA passes).

Color values

HEX#341A93
RGBrgb(52, 26, 147)
HSLhsl(253, 70%, 34%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(64.6%, 82.3%, 0%, 42.4%)
CIE-LABlab(22.21, 45.37, -61.17)
CIE-LCHlch(22.21, 76.16, 306.57°)
OKLaboklab(34.99% 0.0362 -0.1765)
OKLCHoklch(34.99% 0.18 281.6)
XYZxyz(7.0504, 3.5749, 27.9166)
Luminance0.0357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A93 #79931A
analogous
#1A3C93 #341A93 #711A93
triadic
#341A93 #93341A #1A9334
tetradic
#341A93 #931A3C #79931A #1A9371
square
#341A93 #931A3C #79931A #1A9371
split-complementary
#341A93 #93711A #3C931A
monochromatic
#0F082B #22115F #341A93 #4623C7 #6949DF

Accessibility & contrast

On white

12.24
#341A93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#341A93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A93
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A93#FFFFFF#000000##FFFFFF
##341A931.0012.241.7212.24
#FFFFFF12.241.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003191
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #341a93;
/* rgb */ color: rgb(52, 26, 147);
/* oklch */ color: oklch(35.0% 0.180 281.6);
Tailwind
colors: {
  custom: {
    50: '#795bb4',
    500: '#341a93',
    950: '#000000',
  },
}
SCSS
$custom: #341a93;
$custom-light: #795bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#341a93",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 147
  },
  "hsl": {
    "h": 252.893,
    "s": 69.942,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34993,
    "c": 0.18018,
    "h": 281.6
  },
  "luminance": 0.03575
}

Semantic roles & 50–950 ramp

primary
#341A93
secondary
#A7C048
accent
#ED3BC7
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341A93

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

Preview Lab → · Contrast checker → · Palette generator →

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