#341E90#341E90

#341E90 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.1% C 0.173 H 281.6°. Best body text is #FFFFFF at 12.11:1 contrast (WCAG AA passes).

Color values

HEX#341E90
RGBrgb(52, 30, 144)
HSLhsl(252, 66%, 34%)
HSVhsv(252, 79%, 56%)
CMYKcmyk(63.9%, 79.2%, 0%, 43.5%)
CIE-LABlab(22.55, 42.53, -58.75)
CIE-LCHlch(22.55, 72.52, 305.90°)
OKLaboklab(35.13% 0.0348 -0.1695)
OKLCHoklch(35.13% 0.173 281.6)
XYZxyz(6.9129, 3.6717, 26.7246)
Luminance0.0367 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E90 #7A901E
analogous
#1E4190 #341E90 #6D1E90
triadic
#341E90 #90341E #1E9034
tetradic
#341E90 #901E41 #7A901E #1E906D
square
#341E90 #901E41 #7A901E #1E906D
split-complementary
#341E90 #906D1E #41901E
monochromatic
#0F092B #22135D #341E90 #4629C3 #694EDA

Accessibility & contrast

On white

12.11
#341E90 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.73
#341E90 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E90
12.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E90#FFFFFF#000000##FFFFFF
##341E901.0012.111.7312.11
#FFFFFF12.111.0021.001.00
#0000001.7321.001.0021.00
##FFFFFF12.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003A93
Deuteranopia (green-blind)
#00328E
Tritanopia (blue-blind)
#004056
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #341e90;
/* rgb */ color: rgb(52, 30, 144);
/* oklch */ color: oklch(35.1% 0.173 281.6);
Tailwind
colors: {
  custom: {
    50: '#785db2',
    500: '#341e90',
    950: '#000000',
  },
}
SCSS
$custom: #341e90;
$custom-light: #785db2;
$custom-dark: #000000;
JSON
{
  "hex": "#341e90",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 144
  },
  "hsl": {
    "h": 251.579,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.35133,
    "c": 0.17303,
    "h": 281.6
  },
  "luminance": 0.03672
}

Semantic roles & 50–950 ramp

primary
#341E90
secondary
#A7BD4D
accent
#E83FC8
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341E90

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

Preview Lab → · Contrast checker → · Palette generator →

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