#341966#341966

#341966 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.126 H 293.4°. Best body text is #FFFFFF at 14.22:1 contrast (WCAG AA passes).

Color values

HEX#341966
RGBrgb(52, 25, 102)
HSLhsl(261, 61%, 25%)
HSVhsv(261, 75%, 40%)
CMYKcmyk(49%, 75.5%, 0%, 60%)
CIE-LABlab(17.39, 32.31, -40.43)
CIE-LCHlch(17.39, 51.76, 308.63°)
OKLaboklab(30.21% 0.0502 -0.1158)
OKLCHoklch(30.21% 0.126 293.4)
XYZxyz(4.1614, 2.3845, 12.8088)
Luminance0.0238 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341966 #4B6619
analogous
#192466 #341966 #5B1966
triadic
#341966 #663419 #196634
tetradic
#341966 #661924 #4B6619 #19665B
square
#341966 #661924 #4B6619 #19665B
split-complementary
#341966 #665B19 #246619
monochromatic
#0D0619 #1B0D35 #341966 #4D2597 #6631C8

Accessibility & contrast

On white

14.22
#341966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341966
14.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341966#FFFFFF#000000##FFFFFF
##3419661.0014.221.4814.22
#FFFFFF14.221.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002964
Tritanopia (blue-blind)
#252D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341966;
/* rgb */ color: rgb(52, 25, 102);
/* oklch */ color: oklch(30.2% 0.126 293.4);
Tailwind
colors: {
  custom: {
    50: '#715892',
    500: '#341966',
    950: '#000000',
  },
}
SCSS
$custom: #341966;
$custom-light: #715892;
$custom-dark: #000000;
JSON
{
  "hex": "#341966",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 261.039,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.30215,
    "c": 0.12623,
    "h": 293.4
  },
  "luminance": 0.02385
}

Semantic roles & 50–950 ramp

primary
#341966
secondary
#7B9C3F
accent
#E444AC
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341966

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

Preview Lab → · Contrast checker → · Palette generator →

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