#341A90#341A90

#341A90 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.7% C 0.177 H 282.2°. Best body text is #FFFFFF at 12.38:1 contrast (WCAG AA passes).

Color values

HEX#341A90
RGBrgb(52, 26, 144)
HSLhsl(253, 69%, 33%)
HSVhsv(253, 82%, 56%)
CMYKcmyk(63.9%, 81.9%, 0%, 43.5%)
CIE-LABlab(21.88, 44.48, -59.86)
CIE-LCHlch(21.88, 74.58, 306.61°)
OKLaboklab(34.66% 0.0372 -0.1727)
OKLCHoklch(34.66% 0.177 282.2)
XYZxyz(6.8180, 3.4820, 26.6930)
Luminance0.0348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A90 #76901A
analogous
#1A3B90 #341A90 #6F1A90
triadic
#341A90 #90341A #1A9034
tetradic
#341A90 #901A3B #76901A #1A906F
square
#341A90 #901A3B #76901A #1A906F
split-complementary
#341A90 #906F1A #3B901A
monochromatic
#0F0728 #21115C #341A90 #4723C4 #6847DE

Accessibility & contrast

On white

12.38
#341A90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#341A90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A90
12.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A90#FFFFFF#000000##FFFFFF
##341A901.0012.381.7012.38
#FFFFFF12.381.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003893
Deuteranopia (green-blind)
#00308E
Tritanopia (blue-blind)
#003E56
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #341a90;
/* rgb */ color: rgb(52, 26, 144);
/* oklch */ color: oklch(34.7% 0.177 282.2);
Tailwind
colors: {
  custom: {
    50: '#795bb2',
    500: '#341a90',
    950: '#000000',
  },
}
SCSS
$custom: #341a90;
$custom-light: #795bb2;
$custom-dark: #000000;
JSON
{
  "hex": "#341a90",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 144
  },
  "hsl": {
    "h": 253.22,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.34663,
    "c": 0.17665,
    "h": 282.2
  },
  "luminance": 0.03482
}

Semantic roles & 50–950 ramp

primary
#341A90
secondary
#A5BF47
accent
#EC3CC5
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341A90

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

Preview Lab → · Contrast checker → · Palette generator →

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