#341869#341869

#341869 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.131 H 292.6°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#341869
RGBrgb(52, 24, 105)
HSLhsl(261, 63%, 25%)
HSVhsv(261, 77%, 41%)
CMYKcmyk(50.5%, 77.1%, 0%, 58.8%)
CIE-LABlab(17.47, 33.76, -42.26)
CIE-LCHlch(17.47, 54.09, 308.62°)
OKLaboklab(30.36% 0.0504 -0.1212)
OKLCHoklch(30.36% 0.131 292.6)
XYZxyz(4.2919, 2.4031, 13.5996)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341869 #4D6918
analogous
#182469 #341869 #5D1869
triadic
#341869 #693418 #186934
tetradic
#341869 #691824 #4D6918 #18695D
square
#341869 #691824 #4D6918 #18695D
split-complementary
#341869 #695D18 #246918
monochromatic
#0C0619 #1B0D37 #341869 #4D239B #652FCD

Accessibility & contrast

On white

14.18
#341869 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341869
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341869#FFFFFF#000000##FFFFFF
##3418691.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C6B
Deuteranopia (green-blind)
#002967
Tritanopia (blue-blind)
#232D3F
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341869;
/* rgb */ color: rgb(52, 24, 105);
/* oklch */ color: oklch(30.4% 0.131 292.6);
Tailwind
colors: {
  custom: {
    50: '#725895',
    500: '#341869',
    950: '#000000',
  },
}
SCSS
$custom: #341869;
$custom-light: #725895;
$custom-dark: #000000;
JSON
{
  "hex": "#341869",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 105
  },
  "hsl": {
    "h": 260.741,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30363,
    "c": 0.13128,
    "h": 292.6
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#341869
secondary
#7D9F3E
accent
#E642AD
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341869

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

Preview Lab → · Contrast checker → · Palette generator →

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