#341164#341164

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

Color values

HEX#341164
RGBrgb(52, 17, 100)
HSLhsl(265, 71%, 23%)
HSVhsv(265, 83%, 39%)
CMYKcmyk(48%, 83%, 0%, 60.8%)
CIE-LABlab(15.75, 35.83, -41.79)
CIE-LCHlch(15.75, 55.05, 310.61°)
OKLaboklab(29.01% 0.0583 -0.1198)
OKLCHoklch(29.01% 0.133 296)
XYZxyz(3.9163, 2.0510, 12.2437)
Luminance0.0205 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341164 #416411
analogous
#111864 #341164 #5D1164
triadic
#341164 #643411 #116434
tetradic
#341164 #641118 #416411 #11645D
square
#341164 #641118 #416411 #11645D
split-complementary
#341164 #645D11 #186411
monochromatic
#0E041A #190830 #341164 #4F1A98 #6A23CD

Accessibility & contrast

On white

14.89
#341164 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341164
14.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341164#FFFFFF#000000##FFFFFF
##3411641.0014.891.4114.89
#FFFFFF14.891.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002866
Deuteranopia (green-blind)
#002662
Tritanopia (blue-blind)
#27283A
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341164;
/* rgb */ color: rgb(52, 17, 100);
/* oklch */ color: oklch(29.0% 0.133 296.0);
Tailwind
colors: {
  custom: {
    50: '#715491',
    500: '#341164',
    950: '#000000',
  },
}
SCSS
$custom: #341164;
$custom-light: #715491;
$custom-dark: #000000;
JSON
{
  "hex": "#341164",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 100
  },
  "hsl": {
    "h": 265.301,
    "s": 70.94,
    "l": 22.941
  },
  "oklch": {
    "l": 0.29005,
    "c": 0.13321,
    "h": 296
  },
  "luminance": 0.02051
}

Semantic roles & 50–950 ramp

primary
#341164
secondary
#719C35
accent
#EE3AA2
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341164

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

Preview Lab → · Contrast checker → · Palette generator →

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