#341473#341473

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

Color values

HEX#341473
RGBrgb(52, 20, 115)
HSLhsl(260, 70%, 26%)
HSVhsv(260, 83%, 45%)
CMYKcmyk(54.8%, 82.6%, 0%, 54.9%)
CIE-LABlab(17.77, 38.72, -48.27)
CIE-LCHlch(17.77, 61.89, 308.74°)
OKLaboklab(30.88% 0.0509 -0.1388)
OKLCHoklch(30.88% 0.148 290.1)
XYZxyz(4.7599, 2.4680, 16.4419)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341473 #537314
analogous
#142373 #341473 #641473
triadic
#341473 #733414 #147334
tetradic
#341473 #731423 #537314 #147364
square
#341473 #731423 #537314 #147364
split-complementary
#341473 #736414 #237314
monochromatic
#0C051A #1C0B3F #341473 #4C1DA7 #6428DA

Accessibility & contrast

On white

14.06
#341473 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341473 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341473
14.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341473#FFFFFF#000000##FFFFFF
##3414731.0014.061.4914.06
#FFFFFF14.061.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.061.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341473;
/* rgb */ color: rgb(52, 20, 115);
/* oklch */ color: oklch(30.9% 0.148 290.1);
Tailwind
colors: {
  custom: {
    50: '#74569c',
    500: '#341473',
    950: '#000000',
  },
}
SCSS
$custom: #341473;
$custom-light: #74569c;
$custom-dark: #000000;
JSON
{
  "hex": "#341473",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 115
  },
  "hsl": {
    "h": 260.211,
    "s": 70.37,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30878,
    "c": 0.14782,
    "h": 290.1
  },
  "luminance": 0.02468
}

Semantic roles & 50–950 ramp

primary
#341473
secondary
#84A93A
accent
#ED3BB1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341473

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

Preview Lab → · Contrast checker → · Palette generator →

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