#341359#341359

#341359 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 28.2% C 0.118 H 300.4°. Best body text is #FFFFFF at 15.18:1 contrast (WCAG AA passes).

Color values

HEX#341359
RGBrgb(52, 19, 89)
HSLhsl(268, 65%, 21%)
HSVhsv(268, 79%, 35%)
CMYKcmyk(41.6%, 78.7%, 0%, 65.1%)
CIE-LABlab(15.05, 31.76, -35.60)
CIE-LCHlch(15.05, 47.71, 311.74°)
OKLaboklab(28.19% 0.0595 -0.1016)
OKLCHoklch(28.19% 0.118 300.4)
XYZxyz(3.4518, 1.9170, 9.6374)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341359 #385913
analogous
#131559 #341359 #571359
triadic
#341359 #593413 #135934
tetradic
#341359 #591315 #385913 #135957
square
#341359 #591315 #385913 #135957
split-complementary
#341359 #595713 #155913
monochromatic
#0F0519 #170827 #341359 #511E8B #6F29BE

Accessibility & contrast

On white

15.18
#341359 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#341359 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341359
15.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341359#FFFFFF#000000##FFFFFF
##3413591.0015.181.3815.18
#FFFFFF15.181.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00265B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#2C2535
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341359;
/* rgb */ color: rgb(52, 19, 89);
/* oklch */ color: oklch(28.2% 0.118 300.4);
Tailwind
colors: {
  custom: {
    50: '#705488',
    500: '#341359',
    950: '#000000',
  },
}
SCSS
$custom: #341359;
$custom-light: #705488;
$custom-dark: #000000;
JSON
{
  "hex": "#341359",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 89
  },
  "hsl": {
    "h": 268.286,
    "s": 64.815,
    "l": 21.176
  },
  "oklch": {
    "l": 0.28185,
    "c": 0.11777,
    "h": 300.4
  },
  "luminance": 0.01917
}

Semantic roles & 50–950 ramp

primary
#341359
secondary
#669137
accent
#E84099
background
#F6F5F8
surface
#ECE8F0
border
#C7C4CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341359

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

Preview Lab → · Contrast checker → · Palette generator →

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