#341659#341659

#341659 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.6% C 0.114 H 299.6°. Best body text is #FFFFFF at 14.95:1 contrast (WCAG AA passes).

Color values

HEX#341659
RGBrgb(52, 22, 89)
HSLhsl(267, 60%, 22%)
HSVhsv(267, 75%, 35%)
CMYKcmyk(41.6%, 75.3%, 0%, 65.1%)
CIE-LABlab(15.62, 30.15, -34.67)
CIE-LCHlch(15.62, 45.95, 311.01°)
OKLaboklab(28.59% 0.0562 -0.0989)
OKLCHoklch(28.59% 0.114 299.6)
XYZxyz(3.5058, 2.0251, 9.6554)
Luminance0.0203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341659 #3B5916
analogous
#161A59 #341659 #561659
triadic
#341659 #593416 #165934
tetradic
#341659 #59161A #3B5916 #165956
square
#341659 #59161A #3B5916 #165956
split-complementary
#341659 #595616 #1A5916
monochromatic
#0E0619 #170A28 #341659 #51228A #6D2EBB

Accessibility & contrast

On white

14.95
#341659 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#341659 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341659
14.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341659#FFFFFF#000000##FFFFFF
##3416591.0014.951.4114.95
#FFFFFF14.951.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002658
Tritanopia (blue-blind)
#2B2635
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341659;
/* rgb */ color: rgb(52, 22, 89);
/* oklch */ color: oklch(28.6% 0.114 299.6);
Tailwind
colors: {
  custom: {
    50: '#6f5688',
    500: '#341659',
    950: '#000000',
  },
}
SCSS
$custom: #341659;
$custom-light: #6f5688;
$custom-dark: #000000;
JSON
{
  "hex": "#341659",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 89
  },
  "hsl": {
    "h": 266.866,
    "s": 60.36,
    "l": 21.765
  },
  "oklch": {
    "l": 0.28591,
    "c": 0.11374,
    "h": 299.6
  },
  "luminance": 0.02025
}

Semantic roles & 50–950 ramp

primary
#341659
secondary
#6A903B
accent
#E4449C
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341659

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

Preview Lab → · Contrast checker → · Palette generator →

#341659 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva