#341E92#341E92

#341E92 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.3% C 0.175 H 281.3°. Best body text is #FFFFFF at 12.02:1 contrast (WCAG AA passes).

Color values

HEX#341E92
RGBrgb(52, 30, 146)
HSLhsl(251, 66%, 35%)
HSVhsv(251, 79%, 57%)
CMYKcmyk(64.4%, 79.5%, 0%, 42.7%)
CIE-LABlab(22.77, 43.14, -59.63)
CIE-LCHlch(22.77, 73.60, 305.88°)
OKLaboklab(35.35% 0.0342 -0.1721)
OKLCHoklch(35.35% 0.175 281.3)
XYZxyz(7.0671, 3.7334, 27.5368)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E92 #7C921E
analogous
#1E4292 #341E92 #6E1E92
triadic
#341E92 #92341E #1E9234
tetradic
#341E92 #921E42 #7C921E #1E926E
square
#341E92 #921E42 #7C921E #1E926E
split-complementary
#341E92 #926E1E #42921E
monochromatic
#10092C #22145F #341E92 #4628C5 #6A4FDB

Accessibility & contrast

On white

12.02
#341E92 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#341E92 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E92
12.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E92#FFFFFF#000000##FFFFFF
##341E921.0012.021.7512.02
#FFFFFF12.021.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A95
Deuteranopia (green-blind)
#003290
Tritanopia (blue-blind)
#004058
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #341e92;
/* rgb */ color: rgb(52, 30, 146);
/* oklch */ color: oklch(35.3% 0.175 281.3);
Tailwind
colors: {
  custom: {
    50: '#795eb3',
    500: '#341e92',
    950: '#000000',
  },
}
SCSS
$custom: #341e92;
$custom-light: #795eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#341e92",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 146
  },
  "hsl": {
    "h": 251.379,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.35347,
    "c": 0.17544,
    "h": 281.3
  },
  "luminance": 0.03734
}

Semantic roles & 50–950 ramp

primary
#341E92
secondary
#A9BE4E
accent
#E93FC9
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341E92

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

Preview Lab → · Contrast checker → · Palette generator →

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