#341890#341890

#341890 is a dark, vivid violet. Relative luminance 0.034; OKLCH L 34.4% C 0.178 H 282.4°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#341890
RGBrgb(52, 24, 144)
HSLhsl(254, 71%, 33%)
HSVhsv(254, 83%, 56%)
CMYKcmyk(63.9%, 83.3%, 0%, 43.5%)
CIE-LABlab(21.57, 45.39, -60.38)
CIE-LCHlch(21.57, 75.54, 306.93°)
OKLaboklab(34.45% 0.0383 -0.1742)
OKLCHoklch(34.45% 0.178 282.4)
XYZxyz(6.7753, 3.3965, 26.6787)
Luminance0.0340 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341890 #749018
analogous
#183890 #341890 #701890
triadic
#341890 #903418 #189034
tetradic
#341890 #901838 #749018 #189070
square
#341890 #901838 #749018 #189070
split-complementary
#341890 #907018 #389018
monochromatic
#0E0727 #210F5C #341890 #4721C4 #6743E0

Accessibility & contrast

On white

12.50
#341890 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341890
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341890#FFFFFF#000000##FFFFFF
##3418901.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003793
Deuteranopia (green-blind)
#002F8E
Tritanopia (blue-blind)
#003D55
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #341890;
/* rgb */ color: rgb(52, 24, 144);
/* oklch */ color: oklch(34.4% 0.178 282.4);
Tailwind
colors: {
  custom: {
    50: '#795ab2',
    500: '#341890',
    950: '#000000',
  },
}
SCSS
$custom: #341890;
$custom-light: #795ab2;
$custom-dark: #000000;
JSON
{
  "hex": "#341890",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 144
  },
  "hsl": {
    "h": 254,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.34447,
    "c": 0.17833,
    "h": 282.4
  },
  "luminance": 0.03397
}

Semantic roles & 50–950 ramp

primary
#341890
secondary
#A3C043
accent
#EE3AC4
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341890

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

Preview Lab → · Contrast checker → · Palette generator →

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