#341DA0#341DA0

#341DA0 is a dark, vivid violet. Relative luminance 0.041; OKLCH L 36.8% C 0.193 H 279.1°. Best body text is #FFFFFF at 11.48:1 contrast (WCAG AA passes).

Color values

HEX#341DA0
RGBrgb(52, 29, 160)
HSLhsl(251, 69%, 37%)
HSVhsv(251, 82%, 63%)
CMYKcmyk(67.5%, 81.9%, 0%, 37.3%)
CIE-LABlab(24.15, 47.87, -65.96)
CIE-LCHlch(24.15, 81.49, 305.97°)
OKLaboklab(36.76% 0.0306 -0.1905)
OKLCHoklch(36.76% 0.193 279.1)
XYZxyz(8.1987, 4.1462, 33.6191)
Luminance0.0415 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341DA0 #89A01D
analogous
#1D48A0 #341DA0 #751DA0
triadic
#341DA0 #A0341D #1DA034
tetradic
#341DA0 #A01D48 #89A01D #1DA075
square
#341DA0 #A01D48 #89A01D #1DA075
split-complementary
#341DA0 #A0751D #48A01D
monochromatic
#120A38 #23146C #341DA0 #4526D4 #6F57E1

Accessibility & contrast

On white

11.48
#341DA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#341DA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341DA0
11.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341DA0#FFFFFF#000000##FFFFFF
##341DA01.0011.481.8311.48
#FFFFFF11.481.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341da0;
/* rgb */ color: rgb(52, 29, 160);
/* oklch */ color: oklch(36.8% 0.193 279.1);
Tailwind
colors: {
  custom: {
    50: '#7c5ebd',
    500: '#341da0',
    950: '#000000',
  },
}
SCSS
$custom: #341da0;
$custom-light: #7c5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#341da0",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 160
  },
  "hsl": {
    "h": 250.534,
    "s": 69.312,
    "l": 37.059
  },
  "oklch": {
    "l": 0.36762,
    "c": 0.1929,
    "h": 279.1
  },
  "luminance": 0.04147
}

Semantic roles & 50–950 ramp

primary
#341DA0
secondary
#B0C455
accent
#EC3CCD
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #341DA0

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

Preview Lab → · Contrast checker → · Palette generator →

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