#341C7A#341C7A

#341C7A is a dark, vivid violet. Relative luminance 0.030; OKLCH L 32.6% C 0.148 H 286.7°. Best body text is #FFFFFF at 13.18:1 contrast (WCAG AA passes).

Color values

HEX#341C7A
RGBrgb(52, 28, 122)
HSLhsl(255, 63%, 29%)
HSVhsv(255, 77%, 48%)
CMYKcmyk(57.4%, 77%, 0%, 52.2%)
CIE-LABlab(19.90, 36.78, -49.26)
CIE-LCHlch(19.90, 61.48, 306.74°)
OKLaboklab(32.59% 0.0424 -0.1418)
OKLCHoklch(32.59% 0.148 286.7)
XYZxyz(5.3432, 2.9654, 18.6994)
Luminance0.0297 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C7A #627A1C
analogous
#1C337A #341C7A #631C7A
triadic
#341C7A #7A341C #1C7A34
tetradic
#341C7A #7A1C33 #627A1C #1C7A63
square
#341C7A #7A1C33 #627A1C #1C7A63
split-complementary
#341C7A #7A631C #337A1C
monochromatic
#0B0619 #1F1148 #341C7A #4927AC #643ED3

Accessibility & contrast

On white

13.18
#341C7A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#341C7A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C7A
13.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C7A#FFFFFF#000000##FFFFFF
##341C7A1.0013.181.5913.18
#FFFFFF13.181.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00327D
Deuteranopia (green-blind)
#002D78
Tritanopia (blue-blind)
#153649
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #341c7a;
/* rgb */ color: rgb(52, 28, 122);
/* oklch */ color: oklch(32.6% 0.148 286.7);
Tailwind
colors: {
  custom: {
    50: '#745ba1',
    500: '#341c7a',
    950: '#000000',
  },
}
SCSS
$custom: #341c7a;
$custom-light: #745ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#341c7a",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 122
  },
  "hsl": {
    "h": 255.319,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32587,
    "c": 0.14797,
    "h": 286.7
  },
  "luminance": 0.02966
}

Semantic roles & 50–950 ramp

primary
#341C7A
secondary
#93AE44
accent
#E642BC
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#09040F
muted
#7B797F

Preview Lab

Preview with #341C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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