#341C74#341C74

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

Color values

HEX#341C74
RGBrgb(52, 28, 116)
HSLhsl(256, 61%, 28%)
HSVhsv(256, 76%, 45%)
CMYKcmyk(55.2%, 75.9%, 0%, 54.5%)
CIE-LABlab(19.31, 34.92, -46.39)
CIE-LCHlch(19.31, 58.06, 306.97°)
OKLaboklab(31.99% 0.0439 -0.1333)
OKLCHoklch(31.99% 0.14 288.2)
XYZxyz(4.9829, 2.8213, 16.8016)
Luminance0.0282 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C74 #5C741C
analogous
#1C3074 #341C74 #601C74
triadic
#341C74 #74341C #1C7434
tetradic
#341C74 #741C30 #5C741C #1C7460
square
#341C74 #741C30 #5C741C #1C7460
split-complementary
#341C74 #74601C #30741C
monochromatic
#0B0619 #1E1043 #341C74 #4A28A5 #633BD0

Accessibility & contrast

On white

13.42
#341C74 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C74
13.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C74#FFFFFF#000000##FFFFFF
##341C741.0013.421.5613.42
#FFFFFF13.421.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003177
Deuteranopia (green-blind)
#002C72
Tritanopia (blue-blind)
#1B3446
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341c74;
/* rgb */ color: rgb(52, 28, 116);
/* oklch */ color: oklch(32.0% 0.140 288.2);
Tailwind
colors: {
  custom: {
    50: '#735b9d',
    500: '#341c74',
    950: '#000000',
  },
}
SCSS
$custom: #341c74;
$custom-light: #735b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#341c74",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 116
  },
  "hsl": {
    "h": 256.364,
    "s": 61.111,
    "l": 28.235
  },
  "oklch": {
    "l": 0.31989,
    "c": 0.14039,
    "h": 288.2
  },
  "luminance": 0.02822
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341C74

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

Preview Lab → · Contrast checker → · Palette generator →

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