#341353#341353

#341353 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.6% C 0.110 H 303.4°. Best body text is #FFFFFF at 15.40:1 contrast (WCAG AA passes).

Color values

HEX#341353
RGBrgb(52, 19, 83)
HSLhsl(271, 63%, 20%)
HSVhsv(271, 77%, 33%)
CMYKcmyk(37.3%, 77.1%, 0%, 67.5%)
CIE-LABlab(14.51, 30.09, -32.41)
CIE-LCHlch(14.51, 44.22, 312.88°)
OKLaboklab(27.64% 0.0608 -0.0922)
OKLCHoklch(27.64% 0.11 303.4)
XYZxyz(3.2100, 1.8203, 8.3642)
Luminance0.0182 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341353 #325313
analogous
#141353 #341353 #531352
triadic
#341353 #533413 #135334
tetradic
#341353 #531413 #325313 #135253
square
#341353 #531413 #325313 #135253
split-complementary
#341353 #525313 #135314
monochromatic
#100619 #150821 #341353 #531E85 #722AB7

Accessibility & contrast

On white

15.40
#341353 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#341353 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341353
15.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341353#FFFFFF#000000##FFFFFF
##3413531.0015.401.3615.40
#FFFFFF15.401.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002455
Deuteranopia (green-blind)
#002552
Tritanopia (blue-blind)
#2E2231
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #341353;
/* rgb */ color: rgb(52, 19, 83);
/* oklch */ color: oklch(27.6% 0.110 303.4);
Tailwind
colors: {
  custom: {
    50: '#6f5484',
    500: '#341353',
    950: '#000000',
  },
}
SCSS
$custom: #341353;
$custom-light: #6f5484;
$custom-dark: #000000;
JSON
{
  "hex": "#341353",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 83
  },
  "hsl": {
    "h": 270.938,
    "s": 62.745,
    "l": 20
  },
  "oklch": {
    "l": 0.27642,
    "c": 0.11048,
    "h": 303.4
  },
  "luminance": 0.0182
}

Semantic roles & 50–950 ramp

primary
#341353
secondary
#608B36
accent
#E64291
background
#F6F4F8
surface
#ECE8EF
border
#C7C4CA
text
#08030B
muted
#7B787C

Preview Lab

Preview with #341353

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

Preview Lab → · Contrast checker → · Palette generator →

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