#341A94#341A94

#341A94 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.1% C 0.181 H 281.4°. Best body text is #FFFFFF at 12.20:1 contrast (WCAG AA passes).

Color values

HEX#341A94
RGBrgb(52, 26, 148)
HSLhsl(253, 70%, 34%)
HSVhsv(253, 82%, 58%)
CMYKcmyk(64.9%, 82.4%, 0%, 42%)
CIE-LABlab(22.32, 45.67, -61.61)
CIE-LCHlch(22.32, 76.69, 306.55°)
OKLaboklab(35.1% 0.0359 -0.1778)
OKLCHoklch(35.1% 0.181 281.4)
XYZxyz(7.1292, 3.6064, 28.3317)
Luminance0.0361 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A94 #7A941A
analogous
#1A3D94 #341A94 #711A94
triadic
#341A94 #94341A #1A9434
tetradic
#341A94 #941A3D #7A941A #1A9471
square
#341A94 #941A3D #7A941A #1A9471
split-complementary
#341A94 #94711A #3D941A
monochromatic
#0F082C #221160 #341A94 #4623C8 #6949DF

Accessibility & contrast

On white

12.20
#341A94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341A94
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A94#FFFFFF#000000##FFFFFF
##341A941.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #341a94;
/* rgb */ color: rgb(52, 26, 148);
/* oklch */ color: oklch(35.1% 0.181 281.4);
Tailwind
colors: {
  custom: {
    50: '#795cb5',
    500: '#341a94',
    950: '#000000',
  },
}
SCSS
$custom: #341a94;
$custom-light: #795cb5;
$custom-dark: #000000;
JSON
{
  "hex": "#341a94",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 148
  },
  "hsl": {
    "h": 252.787,
    "s": 70.115,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35103,
    "c": 0.18134,
    "h": 281.4
  },
  "luminance": 0.03607
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341A94

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

Preview Lab → · Contrast checker → · Palette generator →

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