#341470#341470

#341470 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.6% C 0.144 H 291.1°. Best body text is #FFFFFF at 14.19:1 contrast (WCAG AA passes).

Color values

HEX#341470
RGBrgb(52, 20, 112)
HSLhsl(261, 70%, 26%)
HSVhsv(261, 82%, 44%)
CMYKcmyk(53.6%, 82.1%, 0%, 56.1%)
CIE-LABlab(17.46, 37.86, -46.85)
CIE-LCHlch(17.46, 60.23, 308.94°)
OKLaboklab(30.57% 0.0519 -0.1346)
OKLCHoklch(30.57% 0.144 291.1)
XYZxyz(4.5901, 2.4000, 15.5475)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341470 #507014
analogous
#142270 #341470 #621470
triadic
#341470 #703414 #147034
tetradic
#341470 #701422 #507014 #147062
square
#341470 #701422 #507014 #147062
split-complementary
#341470 #706214 #227014
monochromatic
#0C051A #1C0B3C #341470 #4C1DA4 #6427D8

Accessibility & contrast

On white

14.19
#341470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341470
14.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341470#FFFFFF#000000##FFFFFF
##3414701.0014.191.4814.19
#FFFFFF14.191.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C73
Deuteranopia (green-blind)
#00296E
Tritanopia (blue-blind)
#1F2E42
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341470;
/* rgb */ color: rgb(52, 20, 112);
/* oklch */ color: oklch(30.6% 0.144 291.1);
Tailwind
colors: {
  custom: {
    50: '#73569a',
    500: '#341470',
    950: '#000000',
  },
}
SCSS
$custom: #341470;
$custom-light: #73569a;
$custom-dark: #000000;
JSON
{
  "hex": "#341470",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 112
  },
  "hsl": {
    "h": 260.87,
    "s": 69.697,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30566,
    "c": 0.14426,
    "h": 291.1
  },
  "luminance": 0.024
}

Semantic roles & 50–950 ramp

primary
#341470
secondary
#81A639
accent
#ED3BAF
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341470

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

Preview Lab → · Contrast checker → · Palette generator →

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