#341C60#341C60

#341C60 is a dark, moderate violet. Relative luminance 0.024; OKLCH L 30.1% C 0.114 H 294.8°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#341C60
RGBrgb(52, 28, 96)
HSLhsl(261, 55%, 24%)
HSVhsv(261, 71%, 38%)
CMYKcmyk(45.8%, 70.8%, 0%, 62.4%)
CIE-LABlab(17.48, 28.75, -36.31)
CIE-LCHlch(17.48, 46.32, 308.37°)
OKLaboklab(30.12% 0.0479 -0.1038)
OKLCHoklch(30.12% 0.114 294.8)
XYZxyz(3.9422, 2.4050, 11.3206)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C60 #48601C
analogous
#1C2660 #341C60 #561C60
triadic
#341C60 #60341C #1C6034
tetradic
#341C60 #601C26 #48601C #1C6056
square
#341C60 #601C26 #48601C #1C6056
split-complementary
#341C60 #60561C #26601C
monochromatic
#0D0718 #1A0E31 #341C60 #4E2A8F #6738BF

Accessibility & contrast

On white

14.18
#341C60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341C60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C60
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C60#FFFFFF#000000##FFFFFF
##341C601.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B62
Deuteranopia (green-blind)
#002A5F
Tritanopia (blue-blind)
#282C3B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341c60;
/* rgb */ color: rgb(52, 28, 96);
/* oklch */ color: oklch(30.1% 0.114 294.8);
Tailwind
colors: {
  custom: {
    50: '#705a8e',
    500: '#341c60',
    950: '#000000',
  },
}
SCSS
$custom: #341c60;
$custom-light: #705a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#341c60",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 96
  },
  "hsl": {
    "h": 261.176,
    "s": 54.839,
    "l": 24.314
  },
  "oklch": {
    "l": 0.30116,
    "c": 0.1143,
    "h": 294.8
  },
  "luminance": 0.02405
}

Semantic roles & 50–950 ramp

primary
#341C60
secondary
#789542
accent
#DE4AAA
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341C60

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

Preview Lab → · Contrast checker → · Palette generator →

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