#341390#341390

#341390 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 34.0% C 0.182 H 282.9°. Best body text is #FFFFFF at 12.79:1 contrast (WCAG AA passes).

Color values

HEX#341390
RGBrgb(52, 19, 144)
HSLhsl(256, 77%, 32%)
HSVhsv(256, 87%, 56%)
CMYKcmyk(63.9%, 86.8%, 0%, 43.5%)
CIE-LABlab(20.86, 47.47, -61.55)
CIE-LCHlch(20.86, 77.72, 307.64°)
OKLaboklab(33.96% 0.0407 -0.1775)
OKLCHoklch(33.96% 0.182 282.9)
XYZxyz(6.6815, 3.2089, 26.6474)
Luminance0.0321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341390 #6F9013
analogous
#133190 #341390 #731390
triadic
#341390 #903413 #139034
tetradic
#341390 #901331 #6F9013 #139073
square
#341390 #901331 #6F9013 #139073
split-complementary
#341390 #907313 #319013
monochromatic
#0D0524 #200C5A #341390 #481AC6 #6639E5

Accessibility & contrast

On white

12.79
#341390 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#341390 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341390
12.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341390#FFFFFF#000000##FFFFFF
##3413901.0012.791.6412.79
#FFFFFF12.791.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003693
Deuteranopia (green-blind)
#002E8E
Tritanopia (blue-blind)
#003C54
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #341390;
/* rgb */ color: rgb(52, 19, 144);
/* oklch */ color: oklch(34.0% 0.182 282.9);
Tailwind
colors: {
  custom: {
    50: '#7958b2',
    500: '#341390',
    950: '#000000',
  },
}
SCSS
$custom: #341390;
$custom-light: #7958b2;
$custom-dark: #000000;
JSON
{
  "hex": "#341390",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 144
  },
  "hsl": {
    "h": 255.84,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.33963,
    "c": 0.1821,
    "h": 282.9
  },
  "luminance": 0.03209
}

Semantic roles & 50–950 ramp

primary
#341390
secondary
#A0C43B
accent
#F335C1
background
#F8F5FB
surface
#EFE9F6
border
#CAC5D0
text
#0A0411
muted
#7C7980

Preview Lab

Preview with #341390

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

Preview Lab → · Contrast checker → · Palette generator →

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