#341680#341680

#341680 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.5% C 0.161 H 286.2°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#341680
RGBrgb(52, 22, 128)
HSLhsl(257, 71%, 29%)
HSVhsv(257, 83%, 50%)
CMYKcmyk(59.4%, 82.8%, 0%, 49.8%)
CIE-LABlab(19.48, 41.60, -53.78)
CIE-LCHlch(19.48, 67.99, 307.72°)
OKLaboklab(32.48% 0.045 -0.1549)
OKLCHoklch(32.48% 0.161 286.2)
XYZxyz(5.5982, 2.8621, 20.6753)
Luminance0.0286 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341680 #628016
analogous
#162D80 #341680 #691680
triadic
#341680 #803416 #168034
tetradic
#341680 #80162D #628016 #168069
square
#341680 #80162D #628016 #168069
split-complementary
#341680 #806916 #2D8016
monochromatic
#0B041A #1F0D4C #341680 #491FB4 #6434DC

Accessibility & contrast

On white

13.36
#341680 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#341680 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341680
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341680#FFFFFF#000000##FFFFFF
##3416801.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003283
Deuteranopia (green-blind)
#002C7E
Tritanopia (blue-blind)
#0D364B
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341680;
/* rgb */ color: rgb(52, 22, 128);
/* oklch */ color: oklch(32.5% 0.161 286.2);
Tailwind
colors: {
  custom: {
    50: '#7658a6',
    500: '#341680',
    950: '#000000',
  },
}
SCSS
$custom: #341680;
$custom-light: #7658a6;
$custom-dark: #000000;
JSON
{
  "hex": "#341680",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 128
  },
  "hsl": {
    "h": 256.981,
    "s": 70.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.32481,
    "c": 0.16129,
    "h": 286.2
  },
  "luminance": 0.02862
}

Semantic roles & 50–950 ramp

primary
#341680
secondary
#93B53D
accent
#ED3ABB
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#09040F
muted
#7B797F

Preview Lab

Preview with #341680

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

Preview Lab → · Contrast checker → · Palette generator →

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