#341165#341165

#341165 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.1% C 0.134 H 295.6°. Best body text is #FFFFFF at 14.85:1 contrast (WCAG AA passes).

Color values

HEX#341165
RGBrgb(52, 17, 101)
HSLhsl(265, 71%, 23%)
HSVhsv(265, 83%, 40%)
CMYKcmyk(48.5%, 83.2%, 0%, 60.4%)
CIE-LABlab(15.85, 36.11, -42.29)
CIE-LCHlch(15.85, 55.61, 310.50°)
OKLaboklab(29.1% 0.058 -0.1212)
OKLCHoklch(29.1% 0.134 295.6)
XYZxyz(3.9650, 2.0704, 12.5001)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341165 #426511
analogous
#111865 #341165 #5E1165
triadic
#341165 #653411 #116534
tetradic
#341165 #651118 #426511 #11655E
square
#341165 #651118 #426511 #11655E
split-complementary
#341165 #655E11 #186511
monochromatic
#0D041A #190831 #341165 #4F1A99 #6A23CE

Accessibility & contrast

On white

14.85
#341165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341165
14.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341165#FFFFFF#000000##FFFFFF
##3411651.0014.851.4114.85
#FFFFFF14.851.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002867
Deuteranopia (green-blind)
#002663
Tritanopia (blue-blind)
#26293B
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341165;
/* rgb */ color: rgb(52, 17, 101);
/* oklch */ color: oklch(29.1% 0.134 295.6);
Tailwind
colors: {
  custom: {
    50: '#725492',
    500: '#341165',
    950: '#000000',
  },
}
SCSS
$custom: #341165;
$custom-light: #725492;
$custom-dark: #000000;
JSON
{
  "hex": "#341165",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 101
  },
  "hsl": {
    "h": 265,
    "s": 71.186,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29105,
    "c": 0.13438,
    "h": 295.6
  },
  "luminance": 0.02071
}

Semantic roles & 50–950 ramp

primary
#341165
secondary
#729D35
accent
#EE3AA3
background
#F7F5F9
surface
#EDE8F1
border
#C8C4CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341165

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

Preview Lab → · Contrast checker → · Palette generator →

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