#341160#341160

#341160 is a dark, vivid violet. Relative luminance 0.020; OKLCH L 28.6% C 0.129 H 297.6°. Best body text is #FFFFFF at 15.05:1 contrast (WCAG AA passes).

Color values

HEX#341160
RGBrgb(52, 17, 96)
HSLhsl(267, 70%, 22%)
HSVhsv(267, 82%, 38%)
CMYKcmyk(45.8%, 82.3%, 0%, 62.4%)
CIE-LABlab(15.36, 34.71, -39.78)
CIE-LCHlch(15.36, 52.80, 311.11°)
OKLaboklab(28.61% 0.0596 -0.1139)
OKLCHoklch(28.61% 0.129 297.6)
XYZxyz(3.7274, 1.9754, 11.2490)
Luminance0.0198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341160 #3D6011
analogous
#111660 #341160 #5C1160
triadic
#341160 #603411 #116034
tetradic
#341160 #601116 #3D6011 #11605C
square
#341160 #601116 #3D6011 #11605C
split-complementary
#341160 #605C11 #166011
monochromatic
#0E051A #18082C #341160 #501A94 #6C23C8

Accessibility & contrast

On white

15.05
#341160 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#341160 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341160
15.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341160#FFFFFF#000000##FFFFFF
##3411601.0015.051.4015.05
#FFFFFF15.051.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002762
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#292638
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341160;
/* rgb */ color: rgb(52, 17, 96);
/* oklch */ color: oklch(28.6% 0.129 297.6);
Tailwind
colors: {
  custom: {
    50: '#71548e',
    500: '#341160',
    950: '#000000',
  },
}
SCSS
$custom: #341160;
$custom-light: #71548e;
$custom-dark: #000000;
JSON
{
  "hex": "#341160",
  "rgb": {
    "r": 52,
    "g": 17,
    "b": 96
  },
  "hsl": {
    "h": 266.582,
    "s": 69.912,
    "l": 22.157
  },
  "oklch": {
    "l": 0.28608,
    "c": 0.12852,
    "h": 297.6
  },
  "luminance": 0.01975
}

Semantic roles & 50–950 ramp

primary
#341160
secondary
#6C9934
accent
#ED3B9E
background
#F7F4F8
surface
#EDE8F0
border
#C8C4CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341160

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

Preview Lab → · Contrast checker → · Palette generator →

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