#341381#341381

#341381 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 32.3% C 0.165 H 286.3°. Best body text is #FFFFFF at 13.49:1 contrast (WCAG AA passes).

Color values

HEX#341381
RGBrgb(52, 19, 129)
HSLhsl(258, 74%, 29%)
HSVhsv(258, 85%, 51%)
CMYKcmyk(59.7%, 85.3%, 0%, 49.4%)
CIE-LABlab(19.14, 43.20, -54.97)
CIE-LCHlch(19.14, 69.92, 308.16°)
OKLaboklab(32.28% 0.0465 -0.1583)
OKLCHoklch(32.28% 0.165 286.3)
XYZxyz(5.6103, 2.7805, 21.0057)
Luminance0.0278 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341381 #608113
analogous
#132981 #341381 #6B1381
triadic
#341381 #813413 #138134
tetradic
#341381 #811329 #608113 #13816B
square
#341381 #811329 #608113 #13816B
split-complementary
#341381 #816B13 #298113
monochromatic
#0B041B #1E0B4C #341381 #4A1BB6 #642EE0

Accessibility & contrast

On white

13.49
#341381 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#341381 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341381
13.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341381#FFFFFF#000000##FFFFFF
##3413811.0013.491.5613.49
#FFFFFF13.491.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003184
Deuteranopia (green-blind)
#002B7F
Tritanopia (blue-blind)
#0B354C
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #341381;
/* rgb */ color: rgb(52, 19, 129);
/* oklch */ color: oklch(32.3% 0.165 286.3);
Tailwind
colors: {
  custom: {
    50: '#7657a7',
    500: '#341381',
    950: '#000000',
  },
}
SCSS
$custom: #341381;
$custom-light: #7657a7;
$custom-dark: #000000;
JSON
{
  "hex": "#341381",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 129
  },
  "hsl": {
    "h": 258,
    "s": 74.324,
    "l": 29.02
  },
  "oklch": {
    "l": 0.32279,
    "c": 0.16502,
    "h": 286.3
  },
  "luminance": 0.02781
}

Semantic roles & 50–950 ramp

primary
#341381
secondary
#91B63A
accent
#F137B9
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0310
muted
#7C787F

Preview Lab

Preview with #341381

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

Preview Lab → · Contrast checker → · Palette generator →

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