#341E53#341E53

#341E53 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.4% C 0.093 H 299.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#341E53
RGBrgb(52, 30, 83)
HSLhsl(265, 47%, 22%)
HSVhsv(265, 64%, 33%)
CMYKcmyk(37.3%, 63.9%, 0%, 67.5%)
CIE-LABlab(16.91, 23.57, -28.54)
CIE-LCHlch(16.91, 37.02, 309.55°)
OKLaboklab(29.37% 0.0464 -0.0809)
OKLCHoklch(29.37% 0.093 299.8)
XYZxyz(3.4414, 2.2831, 8.4413)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E53 #3D531E
analogous
#1E2253 #341E53 #4F1E53
triadic
#341E53 #53341E #1E5334
tetradic
#341E53 #531E22 #3D531E #1E534F
square
#341E53 #531E22 #3D531E #1E534F
split-complementary
#341E53 #534F1E #22531E
monochromatic
#0E0816 #180E26 #341E53 #502E80 #6C3EAD

Accessibility & contrast

On white

14.42
#341E53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341E53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E53
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E53#FFFFFF#000000##FFFFFF
##341E531.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#042A55
Deuteranopia (green-blind)
#0D2952
Tritanopia (blue-blind)
#2D2935
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341e53;
/* rgb */ color: rgb(52, 30, 83);
/* oklch */ color: oklch(29.4% 0.093 299.8);
Tailwind
colors: {
  custom: {
    50: '#6e5b84',
    500: '#341e53',
    950: '#000000',
  },
}
SCSS
$custom: #341e53;
$custom-light: #6e5b84;
$custom-dark: #000000;
JSON
{
  "hex": "#341e53",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 83
  },
  "hsl": {
    "h": 264.906,
    "s": 46.903,
    "l": 22.157
  },
  "oklch": {
    "l": 0.29369,
    "c": 0.09325,
    "h": 299.8
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#341E53
secondary
#6C8845
accent
#D7519F
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07040B
muted
#7A797C

Preview Lab

Preview with #341E53

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

Preview Lab → · Contrast checker → · Palette generator →

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