#341893#341893

#341893 is a dark, vivid violet. Relative luminance 0.035; OKLCH L 34.8% C 0.182 H 281.8°. Best body text is #FFFFFF at 12.37:1 contrast (WCAG AA passes).

Color values

HEX#341893
RGBrgb(52, 24, 147)
HSLhsl(254, 72%, 34%)
HSVhsv(254, 84%, 58%)
CMYKcmyk(64.6%, 83.7%, 0%, 42.4%)
CIE-LABlab(21.91, 46.27, -61.68)
CIE-LCHlch(21.91, 77.11, 306.88°)
OKLaboklab(34.78% 0.0373 -0.1779)
OKLCHoklch(34.78% 0.182 281.8)
XYZxyz(7.0076, 3.4894, 27.9023)
Luminance0.0349 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341893 #779318
analogous
#183993 #341893 #711893
triadic
#341893 #933418 #189334
tetradic
#341893 #931839 #779318 #189371
square
#341893 #931839 #779318 #189371
split-complementary
#341893 #937118 #399318
monochromatic
#0F072A #210F5E #341893 #4721C8 #6845E1

Accessibility & contrast

On white

12.37
#341893 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#341893 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341893
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341893#FFFFFF#000000##FFFFFF
##3418931.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341893;
/* rgb */ color: rgb(52, 24, 147);
/* oklch */ color: oklch(34.8% 0.182 281.8);
Tailwind
colors: {
  custom: {
    50: '#795ab4',
    500: '#341893',
    950: '#000000',
  },
}
SCSS
$custom: #341893;
$custom-light: #795ab4;
$custom-dark: #000000;
JSON
{
  "hex": "#341893",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 147
  },
  "hsl": {
    "h": 253.659,
    "s": 71.93,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34781,
    "c": 0.18181,
    "h": 281.8
  },
  "luminance": 0.0349
}

Semantic roles & 50–950 ramp

primary
#341893
secondary
#A5C245
accent
#EF39C5
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341893

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

Preview Lab → · Contrast checker → · Palette generator →

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