#341665#341665

#341665 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.7% C 0.129 H 294.5°. Best body text is #FFFFFF at 14.50:1 contrast (WCAG AA passes).

Color values

HEX#341665
RGBrgb(52, 22, 101)
HSLhsl(263, 64%, 24%)
HSVhsv(263, 78%, 40%)
CMYKcmyk(48.5%, 78.2%, 0%, 60.4%)
CIE-LABlab(16.72, 33.64, -40.87)
CIE-LCHlch(16.72, 52.94, 309.46°)
OKLaboklab(29.71% 0.0534 -0.1171)
OKLCHoklch(29.71% 0.129 294.5)
XYZxyz(4.0514, 2.2434, 12.5289)
Luminance0.0224 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341665 #476516
analogous
#162065 #341665 #5C1665
triadic
#341665 #653416 #166534
tetradic
#341665 #651620 #476516 #16655C
square
#341665 #651620 #476516 #16655C
split-complementary
#341665 #655C16 #206516
monochromatic
#0D0519 #1A0B33 #341665 #4E2197 #682CCA

Accessibility & contrast

On white

14.50
#341665 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341665
14.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341665#FFFFFF#000000##FFFFFF
##3416651.0014.501.4514.50
#FFFFFF14.501.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341665;
/* rgb */ color: rgb(52, 22, 101);
/* oklch */ color: oklch(29.7% 0.129 294.5);
Tailwind
colors: {
  custom: {
    50: '#715692',
    500: '#341665',
    950: '#000000',
  },
}
SCSS
$custom: #341665;
$custom-light: #715692;
$custom-dark: #000000;
JSON
{
  "hex": "#341665",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 101
  },
  "hsl": {
    "h": 262.785,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.2971,
    "c": 0.12873,
    "h": 294.5
  },
  "luminance": 0.02243
}

Semantic roles & 50–950 ramp

primary
#341665
secondary
#779C3B
accent
#E741A8
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341665

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

Preview Lab → · Contrast checker → · Palette generator →

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