#341AA0#341AA0

#341AA0 is a dark, vivid violet. Relative luminance 0.040; OKLCH L 36.4% C 0.195 H 279.4°. Best body text is #FFFFFF at 11.66:1 contrast (WCAG AA passes).

Color values

HEX#341AA0
RGBrgb(52, 26, 160)
HSLhsl(252, 72%, 36%)
HSVhsv(252, 84%, 63%)
CMYKcmyk(67.5%, 83.8%, 0%, 37.3%)
CIE-LABlab(23.69, 49.21, -66.71)
CIE-LCHlch(23.69, 82.90, 306.41°)
OKLaboklab(36.45% 0.0319 -0.1926)
OKLCHoklch(36.45% 0.195 279.4)
XYZxyz(8.1287, 4.0062, 33.5958)
Luminance0.0401 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341AA0 #86A01A
analogous
#1A43A0 #341AA0 #771AA0
triadic
#341AA0 #A0341A #1AA034
tetradic
#341AA0 #A01A43 #86A01A #1AA077
square
#341AA0 #A01A43 #86A01A #1AA077
split-complementary
#341AA0 #A0771A #43A01A
monochromatic
#120937 #23116B #341AA0 #4523D5 #6E52E3

Accessibility & contrast

On white

11.66
#341AA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#341AA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341AA0
11.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341AA0#FFFFFF#000000##FFFFFF
##341AA01.0011.661.8011.66
#FFFFFF11.661.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003DA4
Deuteranopia (green-blind)
#00339E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #341aa0;
/* rgb */ color: rgb(52, 26, 160);
/* oklch */ color: oklch(36.4% 0.195 279.4);
Tailwind
colors: {
  custom: {
    50: '#7c5cbd',
    500: '#341aa0',
    950: '#000000',
  },
}
SCSS
$custom: #341aa0;
$custom-light: #7c5cbd;
$custom-dark: #000000;
JSON
{
  "hex": "#341aa0",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 160
  },
  "hsl": {
    "h": 251.642,
    "s": 72.043,
    "l": 36.471
  },
  "oklch": {
    "l": 0.36447,
    "c": 0.19525,
    "h": 279.4
  },
  "luminance": 0.04007
}

Semantic roles & 50–950 ramp

primary
#341AA0
secondary
#AFC550
accent
#EF39CC
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341AA0

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

Preview Lab → · Contrast checker → · Palette generator →

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