#341EA0#341EA0

#341EA0 is a dark, vivid violet. Relative luminance 0.042; OKLCH L 36.9% C 0.192 H 279.0°. Best body text is #FFFFFF at 11.42:1 contrast (WCAG AA passes).

Color values

HEX#341EA0
RGBrgb(52, 30, 160)
HSLhsl(250, 68%, 37%)
HSVhsv(250, 81%, 63%)
CMYKcmyk(67.5%, 81.3%, 0%, 37.3%)
CIE-LABlab(24.31, 47.40, -65.69)
CIE-LCHlch(24.31, 81.01, 305.81°)
OKLaboklab(36.87% 0.0301 -0.1897)
OKLCHoklch(36.87% 0.192 279)
XYZxyz(8.2236, 4.1960, 33.6274)
Luminance0.0420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341EA0 #8AA01E
analogous
#1E49A0 #341EA0 #751EA0
triadic
#341EA0 #A0341E #1EA034
tetradic
#341EA0 #A01E49 #8AA01E #1EA075
square
#341EA0 #A01E49 #8AA01E #1EA075
split-complementary
#341EA0 #A0751E #49A01E
monochromatic
#130B39 #23146C #341EA0 #4528D4 #6F59E0

Accessibility & contrast

On white

11.42
#341EA0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.84
#341EA0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341EA0
11.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341EA0#FFFFFF#000000##FFFFFF
##341EA01.0011.421.8411.42
#FFFFFF11.421.0021.001.00
#0000001.8421.001.0021.00
##FFFFFF11.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003FA4
Deuteranopia (green-blind)
#00359E
Tritanopia (blue-blind)
#004660
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #341ea0;
/* rgb */ color: rgb(52, 30, 160);
/* oklch */ color: oklch(36.9% 0.192 279.0);
Tailwind
colors: {
  custom: {
    50: '#7c5ebd',
    500: '#341ea0',
    950: '#000000',
  },
}
SCSS
$custom: #341ea0;
$custom-light: #7c5ebd;
$custom-dark: #000000;
JSON
{
  "hex": "#341ea0",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 160
  },
  "hsl": {
    "h": 250.154,
    "s": 68.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.36873,
    "c": 0.19208,
    "h": 279
  },
  "luminance": 0.04197
}

Semantic roles & 50–950 ramp

primary
#341EA0
secondary
#B1C456
accent
#EB3DCE
background
#F8F5FB
surface
#EFE9F7
border
#CAC5D0
text
#0B0512
muted
#7C7981

Preview Lab

Preview with #341EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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