#341E5F#341E5F

#341E5F is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.110 H 294.5°. Best body text is #FFFFFF at 14.03:1 contrast (WCAG AA passes).

Color values

HEX#341E5F
RGBrgb(52, 30, 95)
HSLhsl(260, 52%, 25%)
HSVhsv(260, 68%, 37%)
CMYKcmyk(45.3%, 68.4%, 0%, 62.7%)
CIE-LABlab(17.85, 27.22, -35.06)
CIE-LCHlch(17.85, 44.39, 307.83°)
OKLaboklab(30.35% 0.0456 -0.1001)
OKLCHoklch(30.35% 0.11 294.5)
XYZxyz(3.9455, 2.4847, 11.0960)
Luminance0.0249 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E5F #495F1E
analogous
#1E285F #341E5F #551E5F
triadic
#341E5F #5F341E #1E5F34
tetradic
#341E5F #5F1E28 #495F1E #1E5F55
square
#341E5F #5F1E28 #495F1E #1E5F55
split-complementary
#341E5F #5F551E #285F1E
monochromatic
#0D0717 #1B0F30 #341E5F #4D2D8E #673BBC

Accessibility & contrast

On white

14.03
#341E5F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341E5F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E5F
14.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E5F#FFFFFF#000000##FFFFFF
##341E5F1.0014.031.5014.03
#FFFFFF14.031.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C61
Deuteranopia (green-blind)
#002B5E
Tritanopia (blue-blind)
#282D3B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341e5f;
/* rgb */ color: rgb(52, 30, 95);
/* oklch */ color: oklch(30.4% 0.110 294.5);
Tailwind
colors: {
  custom: {
    50: '#705b8d',
    500: '#341e5f',
    950: '#000000',
  },
}
SCSS
$custom: #341e5f;
$custom-light: #705b8d;
$custom-dark: #000000;
JSON
{
  "hex": "#341e5f",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 95
  },
  "hsl": {
    "h": 260.308,
    "s": 52,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30354,
    "c": 0.10996,
    "h": 294.5
  },
  "luminance": 0.02485
}

Semantic roles & 50–950 ramp

primary
#341E5F
secondary
#799445
accent
#DB4CAB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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