#341884#341884

#341884 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.1% C 0.164 H 284.9°. Best body text is #FFFFFF at 13.05:1 contrast (WCAG AA passes).

Color values

HEX#341884
RGBrgb(52, 24, 132)
HSLhsl(256, 69%, 31%)
HSVhsv(256, 82%, 52%)
CMYKcmyk(60.6%, 81.8%, 0%, 48.2%)
CIE-LABlab(20.24, 41.84, -55.06)
CIE-LCHlch(20.24, 69.16, 307.23°)
OKLaboklab(33.13% 0.0423 -0.1587)
OKLCHoklch(33.13% 0.164 284.9)
XYZxyz(5.9064, 3.0489, 22.1026)
Luminance0.0305 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341884 #688418
analogous
#183284 #341884 #6A1884
triadic
#341884 #843418 #188434
tetradic
#341884 #841832 #688418 #18846A
square
#341884 #841832 #688418 #18846A
split-complementary
#341884 #846A18 #328418
monochromatic
#0B051C #200F50 #341884 #4821B8 #653BDB

Accessibility & contrast

On white

13.05
#341884 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#341884 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341884
13.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341884#FFFFFF#000000##FFFFFF
##3418841.0013.051.6113.05
#FFFFFF13.051.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003487
Deuteranopia (green-blind)
#002D82
Tritanopia (blue-blind)
#04384E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #341884;
/* rgb */ color: rgb(52, 24, 132);
/* oklch */ color: oklch(33.1% 0.164 284.9);
Tailwind
colors: {
  custom: {
    50: '#7659a9',
    500: '#341884',
    950: '#000000',
  },
}
SCSS
$custom: #341884;
$custom-light: #7659a9;
$custom-dark: #000000;
JSON
{
  "hex": "#341884",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 132
  },
  "hsl": {
    "h": 255.556,
    "s": 69.231,
    "l": 30.588
  },
  "oklch": {
    "l": 0.33134,
    "c": 0.16421,
    "h": 284.9
  },
  "luminance": 0.03049
}

Semantic roles & 50–950 ramp

primary
#341884
secondary
#99B840
accent
#EC3CBE
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341884

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

Preview Lab → · Contrast checker → · Palette generator →

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