#341575#341575

#341575 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.2% C 0.149 H 289.4°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#341575
RGBrgb(52, 21, 117)
HSLhsl(259, 70%, 27%)
HSVhsv(259, 82%, 46%)
CMYKcmyk(55.6%, 82.1%, 0%, 54.1%)
CIE-LABlab(18.15, 38.84, -48.95)
CIE-LCHlch(18.15, 62.49, 308.43°)
OKLaboklab(31.2% 0.0494 -0.1408)
OKLCHoklch(31.2% 0.149 289.4)
XYZxyz(4.8943, 2.5505, 17.0606)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341575 #567515
analogous
#152675 #341575 #641575
triadic
#341575 #753415 #157534
tetradic
#341575 #751526 #567515 #157564
square
#341575 #751526 #567515 #157564
split-complementary
#341575 #756415 #267515
monochromatic
#0C051A #1D0C41 #341575 #4B1EA9 #632BD9

Accessibility & contrast

On white

13.91
#341575 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#341575 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341575
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341575#FFFFFF#000000##FFFFFF
##3415751.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E78
Deuteranopia (green-blind)
#002A73
Tritanopia (blue-blind)
#1B3145
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341575;
/* rgb */ color: rgb(52, 21, 117);
/* oklch */ color: oklch(31.2% 0.149 289.4);
Tailwind
colors: {
  custom: {
    50: '#74579e',
    500: '#341575',
    950: '#000000',
  },
}
SCSS
$custom: #341575;
$custom-light: #74579e;
$custom-dark: #000000;
JSON
{
  "hex": "#341575",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 117
  },
  "hsl": {
    "h": 259.375,
    "s": 69.565,
    "l": 27.059
  },
  "oklch": {
    "l": 0.312,
    "c": 0.14921,
    "h": 289.4
  },
  "luminance": 0.02551
}

Semantic roles & 50–950 ramp

primary
#341575
secondary
#87AB3B
accent
#EC3BB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341575

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

Preview Lab → · Contrast checker → · Palette generator →

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