#341D60#341D60

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

Color values

HEX#341D60
RGBrgb(52, 29, 96)
HSLhsl(261, 54%, 25%)
HSVhsv(261, 70%, 38%)
CMYKcmyk(45.8%, 69.8%, 0%, 62.4%)
CIE-LABlab(17.71, 28.15, -35.95)
CIE-LCHlch(17.71, 45.66, 308.05°)
OKLaboklab(30.28% 0.0467 -0.1027)
OKLCHoklch(30.28% 0.113 294.5)
XYZxyz(3.9663, 2.4532, 11.3286)
Luminance0.0245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D60 #49601D
analogous
#1D2860 #341D60 #561D60
triadic
#341D60 #60341D #1D6034
tetradic
#341D60 #601D28 #49601D #1D6056
square
#341D60 #601D28 #49601D #1D6056
split-complementary
#341D60 #60561D #28601D
monochromatic
#0D0718 #1B0F31 #341D60 #4D2B8F #6739BE

Accessibility & contrast

On white

14.09
#341D60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341D60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D60
14.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D60#FFFFFF#000000##FFFFFF
##341D601.0014.091.4914.09
#FFFFFF14.091.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#282D3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341d60;
/* rgb */ color: rgb(52, 29, 96);
/* oklch */ color: oklch(30.3% 0.113 294.5);
Tailwind
colors: {
  custom: {
    50: '#705a8e',
    500: '#341d60',
    950: '#000000',
  },
}
SCSS
$custom: #341d60;
$custom-light: #705a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#341d60",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 96
  },
  "hsl": {
    "h": 260.597,
    "s": 53.6,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30276,
    "c": 0.11283,
    "h": 294.5
  },
  "luminance": 0.02453
}

Semantic roles & 50–950 ramp

primary
#341D60
secondary
#799544
accent
#DD4BAB
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341D60

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

Preview Lab → · Contrast checker → · Palette generator →

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