#341660#341660

#341660 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.2% C 0.123 H 296.5°. Best body text is #FFFFFF at 14.69:1 contrast (WCAG AA passes).

Color values

HEX#341660
RGBrgb(52, 22, 96)
HSLhsl(264, 63%, 23%)
HSVhsv(264, 77%, 38%)
CMYKcmyk(45.8%, 77.1%, 0%, 62.4%)
CIE-LABlab(16.25, 32.18, -38.33)
CIE-LCHlch(16.25, 50.05, 310.02°)
OKLaboklab(29.23% 0.0547 -0.1096)
OKLCHoklch(29.23% 0.123 296.5)
XYZxyz(3.8138, 2.1483, 11.2778)
Luminance0.0215 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341660 #426016
analogous
#161D60 #341660 #591660
triadic
#341660 #603416 #166034
tetradic
#341660 #60161D #426016 #166059
square
#341660 #60161D #426016 #166059
split-complementary
#341660 #605916 #1D6016
monochromatic
#0D0619 #190B2E #341660 #4F2192 #6A2DC4

Accessibility & contrast

On white

14.69
#341660 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341660
14.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341660#FFFFFF#000000##FFFFFF
##3416601.0014.691.4314.69
#FFFFFF14.691.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002962
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#282939
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #341660;
/* rgb */ color: rgb(52, 22, 96);
/* oklch */ color: oklch(29.2% 0.123 296.5);
Tailwind
colors: {
  custom: {
    50: '#70568e',
    500: '#341660',
    950: '#000000',
  },
}
SCSS
$custom: #341660;
$custom-light: #70568e;
$custom-dark: #000000;
JSON
{
  "hex": "#341660",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 96
  },
  "hsl": {
    "h": 264.324,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.29234,
    "c": 0.12251,
    "h": 296.5
  },
  "luminance": 0.02148
}

Semantic roles & 50–950 ramp

primary
#341660
secondary
#72973B
accent
#E642A3
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341660

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

Preview Lab → · Contrast checker → · Palette generator →

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