#341993#341993

#341993 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.9% C 0.181 H 281.7°. Best body text is #FFFFFF at 12.31:1 contrast (WCAG AA passes).

Color values

HEX#341993
RGBrgb(52, 25, 147)
HSLhsl(253, 71%, 34%)
HSVhsv(253, 83%, 58%)
CMYKcmyk(64.6%, 83%, 0%, 42.4%)
CIE-LABlab(22.06, 45.83, -61.43)
CIE-LCHlch(22.06, 76.64, 306.72°)
OKLaboklab(34.89% 0.0367 -0.1772)
OKLCHoklch(34.89% 0.181 281.7)
XYZxyz(7.0286, 3.5314, 27.9093)
Luminance0.0353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341993 #789319
analogous
#193B93 #341993 #711993
triadic
#341993 #933419 #199334
tetradic
#341993 #93193B #789319 #199371
square
#341993 #93193B #789319 #199371
split-complementary
#341993 #937119 #3B9319
monochromatic
#0F072A #21105F #341993 #4722C7 #6947E0

Accessibility & contrast

On white

12.31
#341993 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#341993 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341993
12.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341993#FFFFFF#000000##FFFFFF
##3419931.0012.311.7112.31
#FFFFFF12.311.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003996
Deuteranopia (green-blind)
#003091
Tritanopia (blue-blind)
#003F57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #341993;
/* rgb */ color: rgb(52, 25, 147);
/* oklch */ color: oklch(34.9% 0.181 281.7);
Tailwind
colors: {
  custom: {
    50: '#795bb4',
    500: '#341993',
    950: '#000000',
  },
}
SCSS
$custom: #341993;
$custom-light: #795bb4;
$custom-dark: #000000;
JSON
{
  "hex": "#341993",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 147
  },
  "hsl": {
    "h": 253.279,
    "s": 70.93,
    "l": 33.725
  },
  "oklch": {
    "l": 0.34885,
    "c": 0.18101,
    "h": 281.7
  },
  "luminance": 0.03532
}

Semantic roles & 50–950 ramp

primary
#341993
secondary
#A6C147
accent
#EE3AC6
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341993

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

Preview Lab → · Contrast checker → · Palette generator →

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