#341572#341572

#341572 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.146 H 290.3°. Best body text is #FFFFFF at 14.04:1 contrast (WCAG AA passes).

Color values

HEX#341572
RGBrgb(52, 21, 114)
HSLhsl(260, 69%, 26%)
HSVhsv(260, 82%, 45%)
CMYKcmyk(54.4%, 81.6%, 0%, 55.3%)
CIE-LABlab(17.83, 37.96, -47.53)
CIE-LCHlch(17.83, 60.83, 308.61°)
OKLaboklab(30.89% 0.0504 -0.1366)
OKLCHoklch(30.89% 0.146 290.3)
XYZxyz(4.7207, 2.4811, 16.1465)
Luminance0.0248 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341572 #537215
analogous
#152572 #341572 #631572
triadic
#341572 #723415 #157234
tetradic
#341572 #721525 #537215 #157263
square
#341572 #721525 #537215 #157263
split-complementary
#341572 #726315 #257215
monochromatic
#0C051A #1C0B3E #341572 #4C1FA6 #642AD8

Accessibility & contrast

On white

14.04
#341572 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341572
14.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341572#FFFFFF#000000##FFFFFF
##3415721.0014.041.5014.04
#FFFFFF14.041.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D75
Deuteranopia (green-blind)
#002970
Tritanopia (blue-blind)
#1D3043
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341572;
/* rgb */ color: rgb(52, 21, 114);
/* oklch */ color: oklch(30.9% 0.146 290.3);
Tailwind
colors: {
  custom: {
    50: '#73579b',
    500: '#341572',
    950: '#000000',
  },
}
SCSS
$custom: #341572;
$custom-light: #73579b;
$custom-dark: #000000;
JSON
{
  "hex": "#341572",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 114
  },
  "hsl": {
    "h": 260,
    "s": 68.889,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30888,
    "c": 0.14563,
    "h": 290.3
  },
  "luminance": 0.02481
}

Semantic roles & 50–950 ramp

primary
#341572
secondary
#84A83B
accent
#EC3CB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341572

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

Preview Lab → · Contrast checker → · Palette generator →

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