#341D75#341D75

#341D75 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.2% C 0.140 H 287.7°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#341D75
RGBrgb(52, 29, 117)
HSLhsl(256, 60%, 29%)
HSVhsv(256, 75%, 46%)
CMYKcmyk(55.6%, 75.2%, 0%, 54.1%)
CIE-LABlab(19.61, 34.67, -46.55)
CIE-LCHlch(19.61, 58.04, 306.68°)
OKLaboklab(32.23% 0.0428 -0.1338)
OKLCHoklch(32.23% 0.14 287.7)
XYZxyz(5.0655, 2.8929, 17.1176)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D75 #5E751D
analogous
#1D3275 #341D75 #601D75
triadic
#341D75 #75341D #1D7534
tetradic
#341D75 #751D32 #5E751D #1D7560
square
#341D75 #751D32 #5E751D #1D7560
split-complementary
#341D75 #75601D #32751D
monochromatic
#0B0619 #1E1144 #341D75 #4A29A6 #633DCF

Accessibility & contrast

On white

13.30
#341D75 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#341D75 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D75
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D75#FFFFFF#000000##FFFFFF
##341D751.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003178
Deuteranopia (green-blind)
#002D73
Tritanopia (blue-blind)
#1A3547
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341d75;
/* rgb */ color: rgb(52, 29, 117);
/* oklch */ color: oklch(32.2% 0.140 287.7);
Tailwind
colors: {
  custom: {
    50: '#735b9e',
    500: '#341d75',
    950: '#000000',
  },
}
SCSS
$custom: #341d75;
$custom-light: #735b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#341d75",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 117
  },
  "hsl": {
    "h": 255.682,
    "s": 60.274,
    "l": 28.627
  },
  "oklch": {
    "l": 0.32228,
    "c": 0.14048,
    "h": 287.7
  },
  "luminance": 0.02893
}

Semantic roles & 50–950 ramp

primary
#341D75
secondary
#8FA945
accent
#E344BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341D75

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

Preview Lab → · Contrast checker → · Palette generator →

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