#341361#341361

#341361 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.9% C 0.127 H 296.8°. Best body text is #FFFFFF at 14.87:1 contrast (WCAG AA passes).

Color values

HEX#341361
RGBrgb(52, 19, 97)
HSLhsl(265, 67%, 23%)
HSVhsv(265, 80%, 38%)
CMYKcmyk(46.4%, 80.4%, 0%, 62%)
CIE-LABlab(15.79, 34.02, -39.73)
CIE-LCHlch(15.79, 52.31, 310.57°)
OKLaboklab(28.94% 0.0574 -0.1137)
OKLCHoklch(28.94% 0.127 296.8)
XYZxyz(3.8061, 2.0588, 11.5038)
Luminance0.0206 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341361 #406113
analogous
#131961 #341361 #5B1361
triadic
#341361 #613413 #136134
tetradic
#341361 #611319 #406113 #13615B
square
#341361 #611319 #406113 #13615B
split-complementary
#341361 #615B13 #196113
monochromatic
#0E051A #19092E #341361 #4F1D94 #6B27C7

Accessibility & contrast

On white

14.87
#341361 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#341361 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341361
14.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341361#FFFFFF#000000##FFFFFF
##3413611.0014.871.4114.87
#FFFFFF14.871.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002863
Deuteranopia (green-blind)
#00265F
Tritanopia (blue-blind)
#282839
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341361;
/* rgb */ color: rgb(52, 19, 97);
/* oklch */ color: oklch(28.9% 0.127 296.8);
Tailwind
colors: {
  custom: {
    50: '#71558f',
    500: '#341361',
    950: '#000000',
  },
}
SCSS
$custom: #341361;
$custom-light: #71558f;
$custom-dark: #000000;
JSON
{
  "hex": "#341361",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 97
  },
  "hsl": {
    "h": 265.385,
    "s": 67.241,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28943,
    "c": 0.12743,
    "h": 296.8
  },
  "luminance": 0.02059
}

Semantic roles & 50–950 ramp

primary
#341361
secondary
#6F9937
accent
#EA3EA1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341361

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

Preview Lab → · Contrast checker → · Palette generator →

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