#341366#341366

#341366 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.133 H 294.8°. Best body text is #FFFFFF at 14.68:1 contrast (WCAG AA passes).

Color values

HEX#341366
RGBrgb(52, 19, 102)
HSLhsl(264, 69%, 24%)
HSVhsv(264, 81%, 40%)
CMYKcmyk(49%, 81.4%, 0%, 60%)
CIE-LABlab(16.28, 35.45, -42.24)
CIE-LCHlch(16.28, 55.15, 310.00°)
OKLaboklab(29.43% 0.0559 -0.1211)
OKLCHoklch(29.43% 0.133 294.8)
XYZxyz(4.0467, 2.1550, 12.7705)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341366 #456613
analogous
#131C66 #341366 #5D1366
triadic
#341366 #663413 #136634
tetradic
#341366 #66131C #456613 #13665D
square
#341366 #66131C #456613 #13665D
split-complementary
#341366 #665D13 #1C6613
monochromatic
#0D051A #1A0932 #341366 #4E1D9A #6926CD

Accessibility & contrast

On white

14.68
#341366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#341366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341366
14.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341366#FFFFFF#000000##FFFFFF
##3413661.0014.681.4314.68
#FFFFFF14.681.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002968
Deuteranopia (green-blind)
#002764
Tritanopia (blue-blind)
#252A3C
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341366;
/* rgb */ color: rgb(52, 19, 102);
/* oklch */ color: oklch(29.4% 0.133 294.8);
Tailwind
colors: {
  custom: {
    50: '#725592',
    500: '#341366',
    950: '#000000',
  },
}
SCSS
$custom: #341366;
$custom-light: #725592;
$custom-dark: #000000;
JSON
{
  "hex": "#341366",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 102
  },
  "hsl": {
    "h": 263.855,
    "s": 68.595,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29434,
    "c": 0.13341,
    "h": 294.8
  },
  "luminance": 0.02155
}

Semantic roles & 50–950 ramp

primary
#341366
secondary
#759D37
accent
#EB3CA6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341366

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

Preview Lab → · Contrast checker → · Palette generator →

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