#341355#341355

#341355 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.8% C 0.113 H 302.4°. Best body text is #FFFFFF at 15.32:1 contrast (WCAG AA passes).

Color values

HEX#341355
RGBrgb(52, 19, 85)
HSLhsl(270, 63%, 20%)
HSVhsv(270, 78%, 33%)
CMYKcmyk(38.8%, 77.6%, 0%, 66.7%)
CIE-LABlab(14.69, 30.64, -33.48)
CIE-LCHlch(14.69, 45.39, 312.46°)
OKLaboklab(27.82% 0.0604 -0.0954)
OKLCHoklch(27.82% 0.113 302.4)
XYZxyz(3.2883, 1.8517, 8.7767)
Luminance0.0185 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341355 #345513
analogous
#131355 #341355 #551355
triadic
#341355 #553413 #135534
tetradic
#341355 #551313 #345513 #135555
square
#341355 #551313 #345513 #135555
split-complementary
#341355 #555513 #135513
monochromatic
#0F0619 #150823 #341355 #531E87 #7129B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##341355#FFFFFF#000000##FFFFFF
##3413551.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)
#002457
Deuteranopia (green-blind)
#002554
Tritanopia (blue-blind)
#2D2332
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341355;
/* rgb */ color: rgb(52, 19, 85);
/* oklch */ color: oklch(27.8% 0.113 302.4);
Tailwind
colors: {
  custom: {
    50: '#6f5485',
    500: '#341355',
    950: '#000000',
  },
}
SCSS
$custom: #341355;
$custom-light: #6f5485;
$custom-dark: #000000;
JSON
{
  "hex": "#341355",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 270,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2782,
    "c": 0.11292,
    "h": 302.4
  },
  "luminance": 0.01852
}

Semantic roles & 50–950 ramp

primary
#341355
secondary
#628D36
accent
#E64194
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341355

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

Preview Lab → · Contrast checker → · Palette generator →

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