#341764#341764

#341764 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.7% C 0.126 H 294.7°. Best body text is #FFFFFF at 14.46:1 contrast (WCAG AA passes).

Color values

HEX#341764
RGBrgb(52, 23, 100)
HSLhsl(263, 63%, 24%)
HSVhsv(263, 77%, 39%)
CMYKcmyk(48%, 77%, 0%, 60.8%)
CIE-LABlab(16.81, 32.82, -40.06)
CIE-LCHlch(16.81, 51.78, 309.33°)
OKLaboklab(29.75% 0.0527 -0.1147)
OKLCHoklch(29.75% 0.126 294.7)
XYZxyz(4.0222, 2.2628, 12.2790)
Luminance0.0226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341764 #476417
analogous
#172164 #341764 #5B1764
triadic
#341764 #643417 #176434
tetradic
#341764 #641721 #476417 #17645B
square
#341764 #641721 #476417 #17645B
split-complementary
#341764 #645B17 #216417
monochromatic
#0D0619 #1A0C32 #341764 #4E2296 #682EC8

Accessibility & contrast

On white

14.46
#341764 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#341764 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341764
14.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341764#FFFFFF#000000##FFFFFF
##3417641.0014.461.4514.46
#FFFFFF14.461.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.461.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341764;
/* rgb */ color: rgb(52, 23, 100);
/* oklch */ color: oklch(29.7% 0.126 294.7);
Tailwind
colors: {
  custom: {
    50: '#715791',
    500: '#341764',
    950: '#000000',
  },
}
SCSS
$custom: #341764;
$custom-light: #715791;
$custom-dark: #000000;
JSON
{
  "hex": "#341764",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 100
  },
  "hsl": {
    "h": 262.597,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.29748,
    "c": 0.12625,
    "h": 294.7
  },
  "luminance": 0.02263
}

Semantic roles & 50–950 ramp

primary
#341764
secondary
#779A3C
accent
#E642A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341764

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

Preview Lab → · Contrast checker → · Palette generator →

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