#341964#341964

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

Color values

HEX#341964
RGBrgb(52, 25, 100)
HSLhsl(262, 60%, 25%)
HSVhsv(262, 75%, 39%)
CMYKcmyk(48%, 75%, 0%, 60.8%)
CIE-LABlab(17.20, 31.71, -39.41)
CIE-LCHlch(17.20, 50.59, 308.82°)
OKLaboklab(30.03% 0.0506 -0.1129)
OKLCHoklch(30.03% 0.124 294.1)
XYZxyz(4.0634, 2.3453, 12.2927)
Luminance0.0234 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341964 #496419
analogous
#192464 #341964 #5A1964
triadic
#341964 #643419 #196434
tetradic
#341964 #641924 #496419 #19645A
square
#341964 #641924 #496419 #19645A
split-complementary
#341964 #645A19 #246419
monochromatic
#0D0618 #1B0D33 #341964 #4D2595 #6731C6

Accessibility & contrast

On white

14.30
#341964 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#341964 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341964
14.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341964#FFFFFF#000000##FFFFFF
##3419641.0014.301.4714.30
#FFFFFF14.301.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B66
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#262C3C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341964;
/* rgb */ color: rgb(52, 25, 100);
/* oklch */ color: oklch(30.0% 0.124 294.1);
Tailwind
colors: {
  custom: {
    50: '#715891',
    500: '#341964',
    950: '#000000',
  },
}
SCSS
$custom: #341964;
$custom-light: #715891;
$custom-dark: #000000;
JSON
{
  "hex": "#341964",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 100
  },
  "hsl": {
    "h": 261.6,
    "s": 60,
    "l": 24.51
  },
  "oklch": {
    "l": 0.30027,
    "c": 0.12368,
    "h": 294.1
  },
  "luminance": 0.02345
}

Semantic roles & 50–950 ramp

primary
#341964
secondary
#799A3F
accent
#E345AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341964

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

Preview Lab → · Contrast checker → · Palette generator →

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