#341CA0#341CA0

#341CA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.7% C 0.194 H 279.2°. Best body text is #FFFFFF at 11.54:1 contrast (WCAG AA passes).

Color values

HEX#341CA0
RGBrgb(52, 28, 160)
HSLhsl(251, 70%, 37%)
HSVhsv(251, 83%, 63%)
CMYKcmyk(67.5%, 82.5%, 0%, 37.3%)
CIE-LABlab(23.99, 48.32, -66.21)
CIE-LCHlch(23.99, 81.97, 306.12°)
OKLaboklab(36.65% 0.031 -0.1912)
OKLCHoklch(36.65% 0.194 279.2)
XYZxyz(8.1746, 4.0980, 33.6111)
Luminance0.0410 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341CA0 #88A01C
analogous
#1C46A0 #341CA0 #761CA0
triadic
#341CA0 #A0341C #1CA034
tetradic
#341CA0 #A01C46 #88A01C #1CA076
square
#341CA0 #A01C46 #88A01C #1CA076
split-complementary
#341CA0 #A0761C #46A01C
monochromatic
#120A38 #23136C #341CA0 #4525D4 #6F55E1

Accessibility & contrast

On white

11.54
#341CA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.82
#341CA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341CA0
11.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341CA0#FFFFFF#000000##FFFFFF
##341CA01.0011.541.8211.54
#FFFFFF11.541.0021.001.00
#0000001.8221.001.0021.00
##FFFFFF11.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003EA4
Deuteranopia (green-blind)
#00349E
Tritanopia (blue-blind)
#00455F
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #341ca0;
/* rgb */ color: rgb(52, 28, 160);
/* oklch */ color: oklch(36.7% 0.194 279.2);
Tailwind
colors: {
  custom: {
    50: '#7c5dbd',
    500: '#341ca0',
    950: '#000000',
  },
}
SCSS
$custom: #341ca0;
$custom-light: #7c5dbd;
$custom-dark: #000000;
JSON
{
  "hex": "#341ca0",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 160
  },
  "hsl": {
    "h": 250.909,
    "s": 70.213,
    "l": 36.863
  },
  "oklch": {
    "l": 0.36654,
    "c": 0.1937,
    "h": 279.2
  },
  "luminance": 0.04099
}

Semantic roles & 50–950 ramp

primary
#341CA0
secondary
#B0C453
accent
#ED3BCD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0412
muted
#7C7981

Preview Lab

Preview with #341CA0

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

Preview Lab → · Contrast checker → · Palette generator →

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