#341767#341767

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

Color values

HEX#341767
RGBrgb(52, 23, 103)
HSLhsl(262, 63%, 25%)
HSVhsv(262, 78%, 40%)
CMYKcmyk(49.5%, 77.7%, 0%, 59.6%)
CIE-LABlab(17.09, 33.70, -41.57)
CIE-LCHlch(17.09, 53.52, 309.03°)
OKLaboklab(30.04% 0.0519 -0.1192)
OKLCHoklch(30.04% 0.13 293.5)
XYZxyz(4.1701, 2.3220, 13.0578)
Luminance0.0232 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341767 #4A6717
analogous
#172267 #341767 #5C1767
triadic
#341767 #673417 #176734
tetradic
#341767 #671722 #4A6717 #17675C
square
#341767 #671722 #4A6717 #17675C
split-complementary
#341767 #675C17 #226717
monochromatic
#0D0619 #1B0C35 #341767 #4D2299 #672DCB

Accessibility & contrast

On white

14.34
#341767 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#341767 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341767
14.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341767#FFFFFF#000000##FFFFFF
##3417671.0014.341.4614.34
#FFFFFF14.341.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B69
Deuteranopia (green-blind)
#002965
Tritanopia (blue-blind)
#252C3D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341767;
/* rgb */ color: rgb(52, 23, 103);
/* oklch */ color: oklch(30.0% 0.130 293.5);
Tailwind
colors: {
  custom: {
    50: '#715793',
    500: '#341767',
    950: '#000000',
  },
}
SCSS
$custom: #341767;
$custom-light: #715793;
$custom-dark: #000000;
JSON
{
  "hex": "#341767",
  "rgb": {
    "r": 52,
    "g": 23,
    "b": 103
  },
  "hsl": {
    "h": 261.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30035,
    "c": 0.12999,
    "h": 293.5
  },
  "luminance": 0.02322
}

Semantic roles & 50–950 ramp

primary
#341767
secondary
#7A9D3D
accent
#E741AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341767

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

Preview Lab → · Contrast checker → · Palette generator →

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