#341354#341354

#341354 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.7% C 0.112 H 302.9°. Best body text is #FFFFFF at 15.36:1 contrast (WCAG AA passes).

Color values

HEX#341354
RGBrgb(52, 19, 84)
HSLhsl(270, 63%, 20%)
HSVhsv(270, 77%, 33%)
CMYKcmyk(38.1%, 77.4%, 0%, 67.1%)
CIE-LABlab(14.60, 30.37, -32.95)
CIE-LCHlch(14.60, 44.81, 312.67°)
OKLaboklab(27.73% 0.0606 -0.0938)
OKLCHoklch(27.73% 0.112 302.9)
XYZxyz(3.2489, 1.8359, 8.5690)
Luminance0.0184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341354 #335413
analogous
#141354 #341354 #541353
triadic
#341354 #543413 #135434
tetradic
#341354 #541413 #335413 #135354
square
#341354 #541413 #335413 #135354
split-complementary
#341354 #535413 #135414
monochromatic
#0F0619 #150822 #341354 #531E86 #722AB8

Accessibility & contrast

On white

15.36
#341354 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341354
15.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341354#FFFFFF#000000##FFFFFF
##3413541.0015.361.3715.36
#FFFFFF15.361.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002456
Deuteranopia (green-blind)
#002553
Tritanopia (blue-blind)
#2D2332
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341354;
/* rgb */ color: rgb(52, 19, 84);
/* oklch */ color: oklch(27.7% 0.112 302.9);
Tailwind
colors: {
  custom: {
    50: '#6f5485',
    500: '#341354',
    950: '#000000',
  },
}
SCSS
$custom: #341354;
$custom-light: #6f5485;
$custom-dark: #000000;
JSON
{
  "hex": "#341354",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 84
  },
  "hsl": {
    "h": 270.462,
    "s": 63.107,
    "l": 20.196
  },
  "oklch": {
    "l": 0.27731,
    "c": 0.11169,
    "h": 302.9
  },
  "luminance": 0.01836
}

Semantic roles & 50–950 ramp

primary
#341354
secondary
#618C36
accent
#E64293
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341354

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

Preview Lab → · Contrast checker → · Palette generator →

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