#341889#341889

#341889 is a dark, vivid violet. Relative luminance 0.032; OKLCH L 33.7% C 0.170 H 283.8°. Best body text is #FFFFFF at 12.82:1 contrast (WCAG AA passes).

Color values

HEX#341889
RGBrgb(52, 24, 137)
HSLhsl(255, 70%, 32%)
HSVhsv(255, 82%, 54%)
CMYKcmyk(62%, 82.5%, 0%, 46.3%)
CIE-LABlab(20.79, 43.33, -57.30)
CIE-LCHlch(20.79, 71.84, 307.09°)
OKLaboklab(33.68% 0.0407 -0.1652)
OKLCHoklch(33.68% 0.17 283.8)
XYZxyz(6.2568, 3.1891, 23.9479)
Luminance0.0319 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341889 #6D8918
analogous
#183589 #341889 #6D1889
triadic
#341889 #893418 #188934
tetradic
#341889 #891835 #6D8918 #18896D
square
#341889 #891835 #6D8918 #18896D
split-complementary
#341889 #896D18 #358918
monochromatic
#0C0621 #200F55 #341889 #4821BD #663EDD

Accessibility & contrast

On white

12.82
#341889 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#341889 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341889
12.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341889#FFFFFF#000000##FFFFFF
##3418891.0012.821.6412.82
#FFFFFF12.821.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00358C
Deuteranopia (green-blind)
#002E87
Tritanopia (blue-blind)
#003A51
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #341889;
/* rgb */ color: rgb(52, 24, 137);
/* oklch */ color: oklch(33.7% 0.170 283.8);
Tailwind
colors: {
  custom: {
    50: '#775aad',
    500: '#341889',
    950: '#000000',
  },
}
SCSS
$custom: #341889;
$custom-light: #775aad;
$custom-dark: #000000;
JSON
{
  "hex": "#341889",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 137
  },
  "hsl": {
    "h": 254.867,
    "s": 70.186,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33676,
    "c": 0.17013,
    "h": 283.8
  },
  "luminance": 0.03189
}

Semantic roles & 50–950 ramp

primary
#341889
secondary
#9EBD40
accent
#ED3BC1
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341889

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

Preview Lab → · Contrast checker → · Palette generator →

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