#341667#341667

#341667 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 29.9% C 0.131 H 293.8°. Best body text is #FFFFFF at 14.42:1 contrast (WCAG AA passes).

Color values

HEX#341667
RGBrgb(52, 22, 103)
HSLhsl(262, 65%, 25%)
HSVhsv(262, 79%, 40%)
CMYKcmyk(49.5%, 78.6%, 0%, 59.6%)
CIE-LABlab(16.91, 34.23, -41.87)
CIE-LCHlch(16.91, 54.09, 309.26°)
OKLaboklab(29.9% 0.0529 -0.1201)
OKLCHoklch(29.9% 0.131 293.8)
XYZxyz(4.1506, 2.2830, 13.0513)
Luminance0.0228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341667 #496716
analogous
#162167 #341667 #5D1667
triadic
#341667 #673416 #166734
tetradic
#341667 #671621 #496716 #16675D
square
#341667 #671621 #496716 #16675D
split-complementary
#341667 #675D16 #216716
monochromatic
#0D0519 #1B0B35 #341667 #4D2199 #672CCC

Accessibility & contrast

On white

14.42
#341667 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341667
14.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341667#FFFFFF#000000##FFFFFF
##3416671.0014.421.4614.42
#FFFFFF14.421.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341667;
/* rgb */ color: rgb(52, 22, 103);
/* oklch */ color: oklch(29.9% 0.131 293.8);
Tailwind
colors: {
  custom: {
    50: '#715793',
    500: '#341667',
    950: '#000000',
  },
}
SCSS
$custom: #341667;
$custom-light: #715793;
$custom-dark: #000000;
JSON
{
  "hex": "#341667",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 103
  },
  "hsl": {
    "h": 262.222,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.29904,
    "c": 0.13119,
    "h": 293.8
  },
  "luminance": 0.02283
}

Semantic roles & 50–950 ramp

primary
#341667
secondary
#799E3B
accent
#E840AA
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341667

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

Preview Lab → · Contrast checker → · Palette generator →

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