#341574#341574

#341574 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.1% C 0.148 H 289.6°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#341574
RGBrgb(52, 21, 116)
HSLhsl(260, 69%, 27%)
HSVhsv(260, 82%, 45%)
CMYKcmyk(55.2%, 81.9%, 0%, 54.5%)
CIE-LABlab(18.04, 38.55, -48.48)
CIE-LCHlch(18.04, 61.94, 308.49°)
OKLaboklab(31.1% 0.0498 -0.1394)
OKLCHoklch(31.1% 0.148 289.6)
XYZxyz(4.8358, 2.5271, 16.7526)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341574 #557415
analogous
#152674 #341574 #641574
triadic
#341574 #743415 #157434
tetradic
#341574 #741526 #557415 #157464
square
#341574 #741526 #557415 #157464
split-complementary
#341574 #746415 #267415
monochromatic
#0C051A #1D0C40 #341574 #4B1EA8 #642BD9

Accessibility & contrast

On white

13.95
#341574 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341574
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341574#FFFFFF#000000##FFFFFF
##3415741.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E77
Deuteranopia (green-blind)
#002A72
Tritanopia (blue-blind)
#1C3044
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341574;
/* rgb */ color: rgb(52, 21, 116);
/* oklch */ color: oklch(31.1% 0.148 289.6);
Tailwind
colors: {
  custom: {
    50: '#74579d',
    500: '#341574',
    950: '#000000',
  },
}
SCSS
$custom: #341574;
$custom-light: #74579d;
$custom-dark: #000000;
JSON
{
  "hex": "#341574",
  "rgb": {
    "r": 52,
    "g": 21,
    "b": 116
  },
  "hsl": {
    "h": 259.579,
    "s": 69.343,
    "l": 26.863
  },
  "oklch": {
    "l": 0.31096,
    "c": 0.14802,
    "h": 289.6
  },
  "luminance": 0.02527
}

Semantic roles & 50–950 ramp

primary
#341574
secondary
#86AA3B
accent
#EC3CB3
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341574

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

Preview Lab → · Contrast checker → · Palette generator →

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