#341C77#341C77

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

Color values

HEX#341C77
RGBrgb(52, 28, 119)
HSLhsl(256, 62%, 29%)
HSVhsv(256, 76%, 47%)
CMYKcmyk(56.3%, 76.5%, 0%, 53.3%)
CIE-LABlab(19.61, 35.85, -47.83)
CIE-LCHlch(19.61, 59.78, 306.85°)
OKLaboklab(32.29% 0.0432 -0.1376)
OKLCHoklch(32.29% 0.144 287.4)
XYZxyz(5.1602, 2.8922, 17.7355)
Luminance0.0289 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C77 #5F771C
analogous
#1C3277 #341C77 #621C77
triadic
#341C77 #77341C #1C7734
tetradic
#341C77 #771C32 #5F771C #1C7762
square
#341C77 #771C32 #5F771C #1C7762
split-complementary
#341C77 #77621C #32771C
monochromatic
#0B0619 #1E1045 #341C77 #4A28A9 #643CD1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##341C77#FFFFFF#000000##FFFFFF
##341C771.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)
#00327A
Deuteranopia (green-blind)
#002D75
Tritanopia (blue-blind)
#183548
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341c77;
/* rgb */ color: rgb(52, 28, 119);
/* oklch */ color: oklch(32.3% 0.144 287.4);
Tailwind
colors: {
  custom: {
    50: '#745b9f',
    500: '#341c77',
    950: '#000000',
  },
}
SCSS
$custom: #341c77;
$custom-light: #745b9f;
$custom-dark: #000000;
JSON
{
  "hex": "#341c77",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 119
  },
  "hsl": {
    "h": 255.824,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.32286,
    "c": 0.14419,
    "h": 287.4
  },
  "luminance": 0.02892
}

Semantic roles & 50–950 ramp

primary
#341C77
secondary
#90AB44
accent
#E543BA
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040F
muted
#7B797E

Preview Lab

Preview with #341C77

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

Preview Lab → · Contrast checker → · Palette generator →

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