#341573#341573

#341573 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.147 H 290.0°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#341573
RGBrgb(52, 21, 115)
HSLhsl(260, 69%, 27%)
HSVhsv(260, 82%, 45%)
CMYKcmyk(54.8%, 81.7%, 0%, 54.9%)
CIE-LABlab(17.94, 38.25, -48.00)
CIE-LCHlch(17.94, 61.38, 308.55°)
OKLaboklab(30.99% 0.0501 -0.138)
OKLCHoklch(30.99% 0.147 290)
XYZxyz(4.7780, 2.5040, 16.4479)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341573 #547315
analogous
#152573 #341573 #631573
triadic
#341573 #733415 #157334
tetradic
#341573 #731525 #547315 #157363
square
#341573 #731525 #547315 #157363
split-complementary
#341573 #736315 #257315
monochromatic
#0C051A #1D0C3F #341573 #4B1EA7 #642AD8

Accessibility & contrast

On white

13.99
#341573 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341573 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341573
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341573#FFFFFF#000000##FFFFFF
##3415731.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E76
Deuteranopia (green-blind)
#002A71
Tritanopia (blue-blind)
#1C3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341573;
/* rgb */ color: rgb(52, 21, 115);
/* oklch */ color: oklch(31.0% 0.147 290.0);
Tailwind
colors: {
  custom: {
    50: '#74579c',
    500: '#341573',
    950: '#000000',
  },
}
SCSS
$custom: #341573;
$custom-light: #74579c;
$custom-dark: #000000;
JSON
{
  "hex": "#341573",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 115
  },
  "hsl": {
    "h": 259.787,
    "s": 69.118,
    "l": 26.667
  },
  "oklch": {
    "l": 0.30992,
    "c": 0.14682,
    "h": 290
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#341573
secondary
#85A93B
accent
#EC3CB2
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341573

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

Preview Lab → · Contrast checker → · Palette generator →

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