#341E60#341E60

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

Color values

HEX#341E60
RGBrgb(52, 30, 96)
HSLhsl(260, 52%, 25%)
HSVhsv(260, 69%, 38%)
CMYKcmyk(45.8%, 68.7%, 0%, 62.4%)
CIE-LABlab(17.93, 27.53, -35.59)
CIE-LCHlch(17.93, 44.99, 307.73°)
OKLaboklab(30.44% 0.0455 -0.1016)
OKLCHoklch(30.44% 0.111 294.1)
XYZxyz(3.9912, 2.5030, 11.3369)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E60 #4A601E
analogous
#1E2960 #341E60 #551E60
triadic
#341E60 #60341E #1E6034
tetradic
#341E60 #601E29 #4A601E #1E6055
square
#341E60 #601E29 #4A601E #1E6055
split-complementary
#341E60 #60551E #29601E
monochromatic
#0D0717 #1B0F31 #341E60 #4D2D8F #673BBD

Accessibility & contrast

On white

13.99
#341E60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341E60
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E60#FFFFFF#000000##FFFFFF
##341E601.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D62
Deuteranopia (green-blind)
#002B5F
Tritanopia (blue-blind)
#282D3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341e60;
/* rgb */ color: rgb(52, 30, 96);
/* oklch */ color: oklch(30.4% 0.111 294.1);
Tailwind
colors: {
  custom: {
    50: '#705b8e',
    500: '#341e60',
    950: '#000000',
  },
}
SCSS
$custom: #341e60;
$custom-light: #705b8e;
$custom-dark: #000000;
JSON
{
  "hex": "#341e60",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 96
  },
  "hsl": {
    "h": 260,
    "s": 52.381,
    "l": 24.706
  },
  "oklch": {
    "l": 0.3044,
    "c": 0.11134,
    "h": 294.1
  },
  "luminance": 0.02503
}

Semantic roles & 50–950 ramp

primary
#341E60
secondary
#7A9545
accent
#DC4CAC
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341E60

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

Preview Lab → · Contrast checker → · Palette generator →

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