#341D73#341D73

#341D73 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.0% C 0.138 H 288.3°. Best body text is #FFFFFF at 13.38:1 contrast (WCAG AA passes).

Color values

HEX#341D73
RGBrgb(52, 29, 115)
HSLhsl(256, 60%, 28%)
HSVhsv(256, 75%, 45%)
CMYKcmyk(54.8%, 74.8%, 0%, 54.9%)
CIE-LABlab(19.42, 34.05, -45.57)
CIE-LCHlch(19.42, 56.89, 306.76°)
OKLaboklab(32.03% 0.0432 -0.1309)
OKLCHoklch(32.03% 0.138 288.3)
XYZxyz(4.9491, 2.8464, 16.5050)
Luminance0.0285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D73 #5C731D
analogous
#1D3173 #341D73 #5F1D73
triadic
#341D73 #73341D #1D7334
tetradic
#341D73 #731D31 #5C731D #1D735F
square
#341D73 #731D31 #5C731D #1D735F
split-complementary
#341D73 #735F1D #31731D
monochromatic
#0B0618 #1E1142 #341D73 #4A29A4 #633CCE

Accessibility & contrast

On white

13.38
#341D73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#341D73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D73
13.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D73#FFFFFF#000000##FFFFFF
##341D731.0013.381.5713.38
#FFFFFF13.381.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003176
Deuteranopia (green-blind)
#002D71
Tritanopia (blue-blind)
#1C3446
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341d73;
/* rgb */ color: rgb(52, 29, 115);
/* oklch */ color: oklch(32.0% 0.138 288.3);
Tailwind
colors: {
  custom: {
    50: '#735b9c',
    500: '#341d73',
    950: '#000000',
  },
}
SCSS
$custom: #341d73;
$custom-light: #735b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#341d73",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 115
  },
  "hsl": {
    "h": 256.047,
    "s": 59.722,
    "l": 28.235
  },
  "oklch": {
    "l": 0.32033,
    "c": 0.13791,
    "h": 288.3
  },
  "luminance": 0.02847
}

Semantic roles & 50–950 ramp

primary
#341D73
secondary
#8DA745
accent
#E345B9
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341D73

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

Preview Lab → · Contrast checker → · Palette generator →

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