#341664#341664

#341664 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.127 H 294.9°. Best body text is #FFFFFF at 14.53:1 contrast (WCAG AA passes).

Color values

HEX#341664
RGBrgb(52, 22, 100)
HSLhsl(263, 64%, 24%)
HSVhsv(263, 78%, 39%)
CMYKcmyk(48%, 78%, 0%, 60.8%)
CIE-LABlab(16.62, 33.35, -40.37)
CIE-LCHlch(16.62, 52.36, 309.56°)
OKLaboklab(29.61% 0.0537 -0.1156)
OKLCHoklch(29.61% 0.127 294.9)
XYZxyz(4.0027, 2.2239, 12.2725)
Luminance0.0222 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341664 #466416
analogous
#161F64 #341664 #5B1664
triadic
#341664 #643416 #166434
tetradic
#341664 #64161F #466416 #16645B
square
#341664 #64161F #466416 #16645B
split-complementary
#341664 #645B16 #1F6416
monochromatic
#0D0619 #1A0B32 #341664 #4E2196 #682CC8

Accessibility & contrast

On white

14.53
#341664 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#341664 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341664
14.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341664#FFFFFF#000000##FFFFFF
##3416641.0014.531.4414.53
#FFFFFF14.531.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A66
Deuteranopia (green-blind)
#002862
Tritanopia (blue-blind)
#262A3B
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341664;
/* rgb */ color: rgb(52, 22, 100);
/* oklch */ color: oklch(29.6% 0.127 294.9);
Tailwind
colors: {
  custom: {
    50: '#715691',
    500: '#341664',
    950: '#000000',
  },
}
SCSS
$custom: #341664;
$custom-light: #715691;
$custom-dark: #000000;
JSON
{
  "hex": "#341664",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 100
  },
  "hsl": {
    "h": 263.077,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.29614,
    "c": 0.12749,
    "h": 294.9
  },
  "luminance": 0.02224
}

Semantic roles & 50–950 ramp

primary
#341664
secondary
#769B3B
accent
#E741A7
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341664

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

Preview Lab → · Contrast checker → · Palette generator →

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