#341C50#341C50

#341C50 is a dark, moderate violet. Relative luminance 0.021; OKLCH L 28.8% C 0.092 H 302.2°. Best body text is #FFFFFF at 14.71:1 contrast (WCAG AA passes).

Color values

HEX#341C50
RGBrgb(52, 28, 80)
HSLhsl(268, 48%, 21%)
HSVhsv(268, 65%, 31%)
CMYKcmyk(35%, 65%, 0%, 68.6%)
CIE-LABlab(16.20, 23.96, -27.64)
CIE-LCHlch(16.20, 36.58, 310.92°)
OKLaboklab(28.78% 0.0493 -0.0782)
OKLCHoklch(28.78% 0.092 302.2)
XYZxyz(3.2791, 2.1398, 7.8281)
Luminance0.0214 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C50 #38501C
analogous
#1C1E50 #341C50 #4E1C50
triadic
#341C50 #50341C #1C5034
tetradic
#341C50 #501C1E #38501C #1C504E
square
#341C50 #501C1E #38501C #1C504E
split-complementary
#341C50 #504E1C #1E501C
monochromatic
#0F0817 #170C23 #341C50 #512C7D #6F3CAB

Accessibility & contrast

On white

14.71
#341C50 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#341C50 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C50
14.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C50#FFFFFF#000000##FFFFFF
##341C501.0014.711.4314.71
#FFFFFF14.711.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#032852
Deuteranopia (green-blind)
#0E284F
Tritanopia (blue-blind)
#2F2733
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341c50;
/* rgb */ color: rgb(52, 28, 80);
/* oklch */ color: oklch(28.8% 0.092 302.2);
Tailwind
colors: {
  custom: {
    50: '#6e5981',
    500: '#341c50',
    950: '#000000',
  },
}
SCSS
$custom: #341c50;
$custom-light: #6e5981;
$custom-dark: #000000;
JSON
{
  "hex": "#341c50",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 80
  },
  "hsl": {
    "h": 267.692,
    "s": 48.148,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28784,
    "c": 0.09247,
    "h": 302.2
  },
  "luminance": 0.0214
}

Semantic roles & 50–950 ramp

primary
#341C50
secondary
#668642
accent
#D85099
background
#F6F5F7
surface
#ECE9EE
border
#C7C5C9
text
#07030A
muted
#7A787C

Preview Lab

Preview with #341C50

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

Preview Lab → · Contrast checker → · Palette generator →

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