#341373#341373

#341373 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.149 H 290.3°. Best body text is #FFFFFF at 14.12:1 contrast (WCAG AA passes).

Color values

HEX#341373
RGBrgb(52, 19, 115)
HSLhsl(261, 72%, 26%)
HSVhsv(261, 83%, 45%)
CMYKcmyk(54.8%, 83.5%, 0%, 54.9%)
CIE-LABlab(17.61, 39.19, -48.53)
CIE-LCHlch(17.61, 62.38, 308.92°)
OKLaboklab(30.77% 0.0516 -0.1395)
OKLCHoklch(30.77% 0.149 290.3)
XYZxyz(4.7427, 2.4334, 16.4361)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341373 #527313
analogous
#132273 #341373 #641373
triadic
#341373 #733413 #137334
tetradic
#341373 #731322 #527313 #137364
square
#341373 #731322 #527313 #137364
split-complementary
#341373 #736413 #227313
monochromatic
#0C041A #1C0A3E #341373 #4C1CA8 #6425DB

Accessibility & contrast

On white

14.12
#341373 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341373
14.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341373#FFFFFF#000000##FFFFFF
##3413731.0014.121.4914.12
#FFFFFF14.121.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341373;
/* rgb */ color: rgb(52, 19, 115);
/* oklch */ color: oklch(30.8% 0.149 290.3);
Tailwind
colors: {
  custom: {
    50: '#74569c',
    500: '#341373',
    950: '#000000',
  },
}
SCSS
$custom: #341373;
$custom-light: #74569c;
$custom-dark: #000000;
JSON
{
  "hex": "#341373",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 115
  },
  "hsl": {
    "h": 260.625,
    "s": 71.642,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30768,
    "c": 0.14877,
    "h": 290.3
  },
  "luminance": 0.02434
}

Semantic roles & 50–950 ramp

primary
#341373
secondary
#83AA38
accent
#EE39B0
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341373

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

Preview Lab → · Contrast checker → · Palette generator →

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