#341362#341362

#341362 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.129 H 296.4°. Best body text is #FFFFFF at 14.83:1 contrast (WCAG AA passes).

Color values

HEX#341362
RGBrgb(52, 19, 98)
HSLhsl(265, 68%, 23%)
HSVhsv(265, 81%, 38%)
CMYKcmyk(46.9%, 80.6%, 0%, 61.6%)
CIE-LABlab(15.89, 34.31, -40.24)
CIE-LCHlch(15.89, 52.88, 310.45°)
OKLaboklab(29.04% 0.0571 -0.1152)
OKLCHoklch(29.04% 0.129 296.4)
XYZxyz(3.8531, 2.0776, 11.7509)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341362 #416213
analogous
#131A62 #341362 #5B1362
triadic
#341362 #623413 #136234
tetradic
#341362 #62131A #416213 #13625B
square
#341362 #62131A #416213 #13625B
split-complementary
#341362 #625B13 #1A6213
monochromatic
#0E051A #19092F #341362 #4F1D95 #6A27C9

Accessibility & contrast

On white

14.83
#341362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341362
14.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341362#FFFFFF#000000##FFFFFF
##3413621.0014.831.4214.83
#FFFFFF14.831.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002864
Deuteranopia (green-blind)
#002660
Tritanopia (blue-blind)
#28283A
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341362;
/* rgb */ color: rgb(52, 19, 98);
/* oklch */ color: oklch(29.0% 0.129 296.4);
Tailwind
colors: {
  custom: {
    50: '#71558f',
    500: '#341362',
    950: '#000000',
  },
}
SCSS
$custom: #341362;
$custom-light: #71558f;
$custom-dark: #000000;
JSON
{
  "hex": "#341362",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 98
  },
  "hsl": {
    "h": 265.063,
    "s": 67.521,
    "l": 22.941
  },
  "oklch": {
    "l": 0.2904,
    "c": 0.12863,
    "h": 296.4
  },
  "luminance": 0.02078
}

Semantic roles & 50–950 ramp

primary
#341362
secondary
#719A37
accent
#EA3DA2
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341362

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

Preview Lab → · Contrast checker → · Palette generator →

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