#341885#341885

#341885 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.2% C 0.165 H 284.7°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#341885
RGBrgb(52, 24, 133)
HSLhsl(255, 69%, 31%)
HSVhsv(255, 82%, 52%)
CMYKcmyk(60.9%, 82%, 0%, 47.8%)
CIE-LABlab(20.35, 42.14, -55.51)
CIE-LCHlch(20.35, 69.70, 307.20°)
OKLaboklab(33.24% 0.042 -0.16)
OKLCHoklch(33.24% 0.165 284.7)
XYZxyz(5.9752, 3.0764, 22.4647)
Luminance0.0308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341885 #698518
analogous
#183285 #341885 #6A1885
triadic
#341885 #853418 #188534
tetradic
#341885 #851832 #698518 #18856A
square
#341885 #851832 #698518 #18856A
split-complementary
#341885 #856A18 #328518
monochromatic
#0B051D #200F51 #341885 #4821B9 #653CDC

Accessibility & contrast

On white

13.00
#341885 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#341885 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341885
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341885#FFFFFF#000000##FFFFFF
##3418851.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003488
Deuteranopia (green-blind)
#002E83
Tritanopia (blue-blind)
#02394F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #341885;
/* rgb */ color: rgb(52, 24, 133);
/* oklch */ color: oklch(33.2% 0.165 284.7);
Tailwind
colors: {
  custom: {
    50: '#7759aa',
    500: '#341885',
    950: '#000000',
  },
}
SCSS
$custom: #341885;
$custom-light: #7759aa;
$custom-dark: #000000;
JSON
{
  "hex": "#341885",
  "rgb": {
    "r": 52,
    "g": 24,
    "b": 133
  },
  "hsl": {
    "h": 255.413,
    "s": 69.427,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33242,
    "c": 0.1654,
    "h": 284.7
  },
  "luminance": 0.03077
}

Semantic roles & 50–950 ramp

primary
#341885
secondary
#9AB940
accent
#EC3CBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341885

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

Preview Lab → · Contrast checker → · Palette generator →

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