#341668#341668

#341668 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.0% C 0.132 H 293.4°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#341668
RGBrgb(52, 22, 104)
HSLhsl(262, 65%, 25%)
HSVhsv(262, 79%, 41%)
CMYKcmyk(50%, 78.8%, 0%, 59.2%)
CIE-LABlab(17.00, 34.53, -42.37)
CIE-LCHlch(17.00, 54.66, 309.17°)
OKLaboklab(30% 0.0526 -0.1215)
OKLCHoklch(30% 0.132 293.4)
XYZxyz(4.2011, 2.3032, 13.3172)
Luminance0.0230 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341668 #4A6816
analogous
#162168 #341668 #5D1668
triadic
#341668 #683416 #166834
tetradic
#341668 #681621 #4A6816 #16685D
square
#341668 #681621 #4A6816 #16685D
split-complementary
#341668 #685D16 #216816
monochromatic
#0D0519 #1B0B35 #341668 #4D219B #672BCD

Accessibility & contrast

On white

14.38
#341668 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341668 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341668
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341668#FFFFFF#000000##FFFFFF
##3416681.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B6A
Deuteranopia (green-blind)
#002866
Tritanopia (blue-blind)
#242C3E
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341668;
/* rgb */ color: rgb(52, 22, 104);
/* oklch */ color: oklch(30.0% 0.132 293.4);
Tailwind
colors: {
  custom: {
    50: '#725794',
    500: '#341668',
    950: '#000000',
  },
}
SCSS
$custom: #341668;
$custom-light: #725794;
$custom-dark: #000000;
JSON
{
  "hex": "#341668",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 104
  },
  "hsl": {
    "h": 261.951,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30002,
    "c": 0.13242,
    "h": 293.4
  },
  "luminance": 0.02303
}

Semantic roles & 50–950 ramp

primary
#341668
secondary
#7A9F3B
accent
#E840AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341668

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

Preview Lab → · Contrast checker → · Palette generator →

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