#341D64#341D64

#341D64 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.6% C 0.118 H 293.0°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#341D64
RGBrgb(52, 29, 100)
HSLhsl(259, 55%, 25%)
HSVhsv(259, 71%, 39%)
CMYKcmyk(48%, 71%, 0%, 60.8%)
CIE-LABlab(18.05, 29.38, -38.04)
CIE-LCHlch(18.05, 48.06, 307.68°)
OKLaboklab(30.63% 0.0462 -0.1088)
OKLCHoklch(30.63% 0.118 293)
XYZxyz(4.1552, 2.5288, 12.3233)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D64 #4D641D
analogous
#1D2964 #341D64 #581D64
triadic
#341D64 #64341D #1D6434
tetradic
#341D64 #641D29 #4D641D #1D6458
square
#341D64 #641D29 #4D641D #1D6458
split-complementary
#341D64 #64581D #29641D
monochromatic
#0C0718 #1B0F35 #341D64 #4D2B93 #6539C3

Accessibility & contrast

On white

13.95
#341D64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#341D64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D64
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D64#FFFFFF#000000##FFFFFF
##341D641.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D66
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#262E3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341d64;
/* rgb */ color: rgb(52, 29, 100);
/* oklch */ color: oklch(30.6% 0.118 293.0);
Tailwind
colors: {
  custom: {
    50: '#705b91',
    500: '#341d64',
    950: '#000000',
  },
}
SCSS
$custom: #341d64;
$custom-light: #705b91;
$custom-dark: #000000;
JSON
{
  "hex": "#341d64",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 100
  },
  "hsl": {
    "h": 259.437,
    "s": 55.039,
    "l": 25.294
  },
  "oklch": {
    "l": 0.3063,
    "c": 0.11821,
    "h": 293
  },
  "luminance": 0.02529
}

Semantic roles & 50–950 ramp

primary
#341D64
secondary
#7D9944
accent
#DE49AE
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #341D64

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

Preview Lab → · Contrast checker → · Palette generator →

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