#341992#341992

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

Color values

HEX#341992
RGBrgb(52, 25, 146)
HSLhsl(253, 71%, 34%)
HSVhsv(253, 83%, 57%)
CMYKcmyk(64.4%, 82.9%, 0%, 42.7%)
CIE-LABlab(21.94, 45.53, -61.00)
CIE-LCHlch(21.94, 76.12, 306.74°)
OKLaboklab(34.77% 0.0371 -0.176)
OKLCHoklch(34.77% 0.18 281.9)
XYZxyz(6.9505, 3.5001, 27.4979)
Luminance0.0350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341992 #779219
analogous
#193B92 #341992 #701992
triadic
#341992 #923419 #199234
tetradic
#341992 #92193B #779219 #199270
square
#341992 #92193B #779219 #199270
split-complementary
#341992 #927019 #3B9219
monochromatic
#0F0729 #21105E #341992 #4722C6 #6846DF

Accessibility & contrast

On white

12.35
#341992 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341992
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341992#FFFFFF#000000##FFFFFF
##3419921.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003895
Deuteranopia (green-blind)
#003090
Tritanopia (blue-blind)
#003E57
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #341992;
/* rgb */ color: rgb(52, 25, 146);
/* oklch */ color: oklch(34.8% 0.180 281.9);
Tailwind
colors: {
  custom: {
    50: '#795bb3',
    500: '#341992',
    950: '#000000',
  },
}
SCSS
$custom: #341992;
$custom-light: #795bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#341992",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 146
  },
  "hsl": {
    "h": 253.388,
    "s": 70.76,
    "l": 33.529
  },
  "oklch": {
    "l": 0.34774,
    "c": 0.17984,
    "h": 281.9
  },
  "luminance": 0.03501
}

Semantic roles & 50–950 ramp

primary
#341992
secondary
#A5C146
accent
#EE3AC6
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341992

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

Preview Lab → · Contrast checker → · Palette generator →

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