#341159#341159

#341159 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 27.9% C 0.120 H 300.8°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#341159
RGBrgb(52, 17, 89)
HSLhsl(269, 68%, 21%)
HSVhsv(269, 81%, 35%)
CMYKcmyk(41.6%, 80.9%, 0%, 65.1%)
CIE-LABlab(14.69, 32.77, -36.18)
CIE-LCHlch(14.69, 48.81, 312.17°)
OKLaboklab(27.94% 0.0616 -0.1033)
OKLCHoklch(27.94% 0.12 300.8)
XYZxyz(3.4194, 1.8522, 9.6266)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341159 #365911
analogous
#111259 #341159 #581159
triadic
#341159 #593411 #115934
tetradic
#341159 #591112 #365911 #115958
square
#341159 #591112 #365911 #115958
split-complementary
#341159 #595811 #125911
monochromatic
#0F051A #160726 #341159 #521B8C #7025C0

Accessibility & contrast

On white

15.32
#341159 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#341159 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341159
15.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341159#FFFFFF#000000##FFFFFF
##3411591.0015.321.3715.32
#FFFFFF15.321.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00255B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#2C2434
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341159;
/* rgb */ color: rgb(52, 17, 89);
/* oklch */ color: oklch(27.9% 0.120 300.8);
Tailwind
colors: {
  custom: {
    50: '#705389',
    500: '#341159',
    950: '#000000',
  },
}
SCSS
$custom: #341159;
$custom-light: #705389;
$custom-dark: #000000;
JSON
{
  "hex": "#341159",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 89
  },
  "hsl": {
    "h": 269.167,
    "s": 67.925,
    "l": 20.784
  },
  "oklch": {
    "l": 0.27935,
    "c": 0.12029,
    "h": 300.8
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#341159
secondary
#649234
accent
#EB3D96
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341159

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

Preview Lab → · Contrast checker → · Palette generator →

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