#341553#341553

#341553 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.9% C 0.108 H 302.9°. Best body text is #FFFFFF at 15.24:1 contrast (WCAG AA passes).

Color values

HEX#341553
RGBrgb(52, 21, 83)
HSLhsl(270, 60%, 20%)
HSVhsv(270, 75%, 33%)
CMYKcmyk(37.3%, 74.7%, 0%, 67.5%)
CIE-LABlab(14.90, 29.00, -31.78)
CIE-LCHlch(14.90, 43.02, 312.39°)
OKLaboklab(27.92% 0.0584 -0.0904)
OKLCHoklch(27.92% 0.108 302.9)
XYZxyz(3.2453, 1.8909, 8.3759)
Luminance0.0189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341553 #345315
analogous
#151553 #341553 #531553
triadic
#341553 #533415 #155334
tetradic
#341553 #531515 #345315 #155353
square
#341553 #531515 #345315 #155353
split-complementary
#341553 #535315 #155315
monochromatic
#0F0618 #150922 #341553 #532184 #712EB5

Accessibility & contrast

On white

15.24
#341553 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341553
15.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341553#FFFFFF#000000##FFFFFF
##3415531.0015.241.3815.24
#FFFFFF15.241.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341553;
/* rgb */ color: rgb(52, 21, 83);
/* oklch */ color: oklch(27.9% 0.108 302.9);
Tailwind
colors: {
  custom: {
    50: '#6f5584',
    500: '#341553',
    950: '#000000',
  },
}
SCSS
$custom: #341553;
$custom-light: #6f5584;
$custom-dark: #000000;
JSON
{
  "hex": "#341553",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 83
  },
  "hsl": {
    "h": 270,
    "s": 59.615,
    "l": 20.392
  },
  "oklch": {
    "l": 0.2792,
    "c": 0.10762,
    "h": 302.9
  },
  "luminance": 0.01891
}

Semantic roles & 50–950 ramp

primary
#341553
secondary
#628B39
accent
#E34594
background
#F6F5F8
surface
#ECE9EF
border
#C7C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #341553

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

Preview Lab → · Contrast checker → · Palette generator →

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