#341693#341693

#341693 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.6% C 0.183 H 282.0°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#341693
RGBrgb(52, 22, 147)
HSLhsl(254, 74%, 33%)
HSVhsv(254, 85%, 58%)
CMYKcmyk(64.6%, 85%, 0%, 42.4%)
CIE-LABlab(21.62, 47.12, -62.16)
CIE-LCHlch(21.62, 78.00, 307.17°)
OKLaboklab(34.58% 0.0382 -0.1793)
OKLCHoklch(34.58% 0.183 282)
XYZxyz(6.9679, 3.4099, 27.8891)
Luminance0.0341 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341693 #759316
analogous
#163693 #341693 #721693
triadic
#341693 #933416 #169334
tetradic
#341693 #931636 #759316 #169372
square
#341693 #931636 #759316 #169372
split-complementary
#341693 #937216 #369316
monochromatic
#0E0629 #210E5E #341693 #471EC8 #6841E3

Accessibility & contrast

On white

12.49
#341693 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#341693 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341693
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341693#FFFFFF#000000##FFFFFF
##3416931.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003896
Deuteranopia (green-blind)
#002F91
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #341693;
/* rgb */ color: rgb(52, 22, 147);
/* oklch */ color: oklch(34.6% 0.183 282.0);
Tailwind
colors: {
  custom: {
    50: '#7a5ab4',
    500: '#341693',
    950: '#000000',
  },
}
SCSS
$custom: #341693;
$custom-light: #7a5ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#341693",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 147
  },
  "hsl": {
    "h": 254.4,
    "s": 73.964,
    "l": 33.137
  },
  "oklch": {
    "l": 0.34582,
    "c": 0.18335,
    "h": 282
  },
  "luminance": 0.0341
}

Semantic roles & 50–950 ramp

primary
#341693
secondary
#A4C342
accent
#F137C4
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341693

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

Preview Lab → · Contrast checker → · Palette generator →

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