#341C73#341C73

#341C73 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.139 H 288.5°. Best body text is #FFFFFF at 13.46:1 contrast (WCAG AA passes).

Color values

HEX#341C73
RGBrgb(52, 28, 115)
HSLhsl(257, 61%, 28%)
HSVhsv(257, 76%, 45%)
CMYKcmyk(54.8%, 75.7%, 0%, 54.9%)
CIE-LABlab(19.22, 34.61, -45.90)
CIE-LCHlch(19.22, 57.49, 307.02°)
OKLaboklab(31.89% 0.0442 -0.1319)
OKLCHoklch(31.89% 0.139 288.5)
XYZxyz(4.9250, 2.7981, 16.4969)
Luminance0.0280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C73 #5B731C
analogous
#1C2F73 #341C73 #5F1C73
triadic
#341C73 #73341C #1C7334
tetradic
#341C73 #731C2F #5B731C #1C735F
square
#341C73 #731C2F #5B731C #1C735F
split-complementary
#341C73 #735F1C #2F731C
monochromatic
#0B0619 #1E1042 #341C73 #4A28A4 #633ACF

Accessibility & contrast

On white

13.46
#341C73 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#341C73 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C73
13.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C73#FFFFFF#000000##FFFFFF
##341C731.0013.461.5613.46
#FFFFFF13.461.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003076
Deuteranopia (green-blind)
#002C71
Tritanopia (blue-blind)
#1C3345
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341c73;
/* rgb */ color: rgb(52, 28, 115);
/* oklch */ color: oklch(31.9% 0.139 288.5);
Tailwind
colors: {
  custom: {
    50: '#735b9c',
    500: '#341c73',
    950: '#000000',
  },
}
SCSS
$custom: #341c73;
$custom-light: #735b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#341c73",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 115
  },
  "hsl": {
    "h": 256.552,
    "s": 60.839,
    "l": 28.039
  },
  "oklch": {
    "l": 0.31891,
    "c": 0.13911,
    "h": 288.5
  },
  "luminance": 0.02798
}

Semantic roles & 50–950 ramp

primary
#341C73
secondary
#8CA743
accent
#E444B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341C73

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

Preview Lab → · Contrast checker → · Palette generator →

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