#341994#341994

#341994 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 35.0% C 0.182 H 281.5°. Best body text is #FFFFFF at 12.26:1 contrast (WCAG AA passes).

Color values

HEX#341994
RGBrgb(52, 25, 148)
HSLhsl(253, 71%, 34%)
HSVhsv(253, 83%, 58%)
CMYKcmyk(64.9%, 83.1%, 0%, 42%)
CIE-LABlab(22.17, 46.12, -61.86)
CIE-LCHlch(22.17, 77.16, 306.71°)
OKLaboklab(35% 0.0364 -0.1785)
OKLCHoklch(35% 0.182 281.5)
XYZxyz(7.1074, 3.5629, 28.3244)
Luminance0.0356 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341994 #799419
analogous
#193C94 #341994 #721994
triadic
#341994 #943419 #199434
tetradic
#341994 #94193C #799419 #199472
square
#341994 #94193C #799419 #199472
split-complementary
#341994 #947219 #3C9419
monochromatic
#0F072B #221060 #341994 #4622C8 #6947E0

Accessibility & contrast

On white

12.26
#341994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341994
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341994#FFFFFF#000000##FFFFFF
##3419941.0012.261.7112.26
#FFFFFF12.261.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003997
Deuteranopia (green-blind)
#003192
Tritanopia (blue-blind)
#003F58
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #341994;
/* rgb */ color: rgb(52, 25, 148);
/* oklch */ color: oklch(35.0% 0.182 281.5);
Tailwind
colors: {
  custom: {
    50: '#7a5bb5',
    500: '#341994',
    950: '#000000',
  },
}
SCSS
$custom: #341994;
$custom-light: #7a5bb5;
$custom-dark: #000000;
JSON
{
  "hex": "#341994",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 148
  },
  "hsl": {
    "h": 253.171,
    "s": 71.098,
    "l": 33.922
  },
  "oklch": {
    "l": 0.34996,
    "c": 0.18217,
    "h": 281.5
  },
  "luminance": 0.03563
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #341994

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

Preview Lab → · Contrast checker → · Palette generator →

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