#341D65#341D65

#341D65 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.7% C 0.120 H 292.6°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#341D65
RGBrgb(52, 29, 101)
HSLhsl(259, 55%, 25%)
HSVhsv(259, 71%, 40%)
CMYKcmyk(48.5%, 71.3%, 0%, 60.4%)
CIE-LABlab(18.14, 29.69, -38.56)
CIE-LCHlch(18.14, 48.66, 307.60°)
OKLaboklab(30.72% 0.046 -0.1103)
OKLCHoklch(30.72% 0.12 292.6)
XYZxyz(4.2039, 2.5482, 12.5798)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D65 #4E651D
analogous
#1D2A65 #341D65 #581D65
triadic
#341D65 #65341D #1D6534
tetradic
#341D65 #651D2A #4E651D #1D6558
square
#341D65 #651D2A #4E651D #1D6558
split-complementary
#341D65 #65581D #2A651D
monochromatic
#0C0718 #1C0F35 #341D65 #4C2B95 #6538C4

Accessibility & contrast

On white

13.91
#341D65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341D65
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D65#FFFFFF#000000##FFFFFF
##341D651.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002B64
Tritanopia (blue-blind)
#252F3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341d65;
/* rgb */ color: rgb(52, 29, 101);
/* oklch */ color: oklch(30.7% 0.120 292.6);
Tailwind
colors: {
  custom: {
    50: '#705b92',
    500: '#341d65',
    950: '#000000',
  },
}
SCSS
$custom: #341d65;
$custom-light: #705b92;
$custom-dark: #000000;
JSON
{
  "hex": "#341d65",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 101
  },
  "hsl": {
    "h": 259.167,
    "s": 55.385,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3072,
    "c": 0.11955,
    "h": 292.6
  },
  "luminance": 0.02548
}

Semantic roles & 50–950 ramp

primary
#341D65
secondary
#7E9A44
accent
#DF49AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341D65

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

Preview Lab → · Contrast checker → · Palette generator →

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