#341168#341168

#341168 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.4% C 0.138 H 294.4°. Best body text is #FFFFFF at 14.73:1 contrast (WCAG AA passes).

Color values

HEX#341168
RGBrgb(52, 17, 104)
HSLhsl(264, 72%, 24%)
HSVhsv(264, 84%, 41%)
CMYKcmyk(50%, 83.7%, 0%, 59.2%)
CIE-LABlab(16.16, 36.96, -43.76)
CIE-LCHlch(16.16, 57.28, 310.18°)
OKLaboklab(29.41% 0.057 -0.1255)
OKLCHoklch(29.41% 0.138 294.4)
XYZxyz(4.1146, 2.1303, 13.2884)
Luminance0.0213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341168 #456811
analogous
#111968 #341168 #5F1168
triadic
#341168 #683411 #116834
tetradic
#341168 #681119 #456811 #11685F
square
#341168 #681119 #456811 #11685F
split-complementary
#341168 #685F11 #196811
monochromatic
#0D041A #1A0833 #341168 #4E1A9D #6922D1

Accessibility & contrast

On white

14.73
#341168 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341168
14.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341168#FFFFFF#000000##FFFFFF
##3411681.0014.731.4314.73
#FFFFFF14.731.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00296A
Deuteranopia (green-blind)
#002766
Tritanopia (blue-blind)
#242A3D
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341168;
/* rgb */ color: rgb(52, 17, 104);
/* oklch */ color: oklch(29.4% 0.138 294.4);
Tailwind
colors: {
  custom: {
    50: '#725494',
    500: '#341168',
    950: '#000000',
  },
}
SCSS
$custom: #341168;
$custom-light: #725494;
$custom-dark: #000000;
JSON
{
  "hex": "#341168",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 104
  },
  "hsl": {
    "h": 264.138,
    "s": 71.901,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29409,
    "c": 0.13788,
    "h": 294.4
  },
  "luminance": 0.0213
}

Semantic roles & 50–950 ramp

primary
#341168
secondary
#75A035
accent
#EF39A6
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341168

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

Preview Lab → · Contrast checker → · Palette generator →

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