#341C72#341C72

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

Color values

HEX#341C72
RGBrgb(52, 28, 114)
HSLhsl(257, 61%, 28%)
HSVhsv(257, 75%, 45%)
CMYKcmyk(54.4%, 75.4%, 0%, 55.3%)
CIE-LABlab(19.12, 34.30, -45.42)
CIE-LCHlch(19.12, 56.91, 307.06°)
OKLaboklab(31.79% 0.0444 -0.1305)
OKLCHoklch(31.79% 0.138 288.8)
XYZxyz(4.8678, 2.7753, 16.1955)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C72 #5A721C
analogous
#1C2F72 #341C72 #5F1C72
triadic
#341C72 #72341C #1C7234
tetradic
#341C72 #721C2F #5A721C #1C725F
square
#341C72 #721C2F #5A721C #1C725F
split-complementary
#341C72 #725F1C #2F721C
monochromatic
#0B0619 #1E1041 #341C72 #4A28A3 #633ACF

Accessibility & contrast

On white

13.50
#341C72 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C72
13.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C72#FFFFFF#000000##FFFFFF
##341C721.0013.501.5613.50
#FFFFFF13.501.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003075
Deuteranopia (green-blind)
#002C70
Tritanopia (blue-blind)
#1D3345
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341c72;
/* rgb */ color: rgb(52, 28, 114);
/* oklch */ color: oklch(31.8% 0.138 288.8);
Tailwind
colors: {
  custom: {
    50: '#735b9b',
    500: '#341c72',
    950: '#000000',
  },
}
SCSS
$custom: #341c72;
$custom-light: #735b9b;
$custom-dark: #000000;
JSON
{
  "hex": "#341c72",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 114
  },
  "hsl": {
    "h": 256.744,
    "s": 60.563,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31793,
    "c": 0.13784,
    "h": 288.8
  },
  "luminance": 0.02775
}

Semantic roles & 50–950 ramp

primary
#341C72
secondary
#8BA643
accent
#E444B7
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341C72

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

Preview Lab → · Contrast checker → · Palette generator →

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