#341060#341060

#341060 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.130 H 297.8°. Best body text is #FFFFFF at 15.12:1 contrast (WCAG AA passes).

Color values

HEX#341060
RGBrgb(52, 16, 96)
HSLhsl(267, 71%, 22%)
HSVhsv(267, 83%, 38%)
CMYKcmyk(45.8%, 83.3%, 0%, 62.4%)
CIE-LABlab(15.20, 35.17, -40.04)
CIE-LCHlch(15.20, 53.30, 311.30°)
OKLaboklab(28.49% 0.0605 -0.1146)
OKLCHoklch(28.49% 0.13 297.8)
XYZxyz(3.7122, 1.9451, 11.2439)
Luminance0.0194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341060 #3C6010
analogous
#101460 #341060 #5C1060
triadic
#341060 #603410 #106034
tetradic
#341060 #601014 #3C6010 #10605C
square
#341060 #601014 #3C6010 #10605C
split-complementary
#341060 #605C10 #146010
monochromatic
#0E041A #18072C #341060 #501994 #6D21C9

Accessibility & contrast

On white

15.12
#341060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#341060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341060
15.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341060#FFFFFF#000000##FFFFFF
##3410601.0015.121.3915.12
#FFFFFF15.121.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002662
Deuteranopia (green-blind)
#00255E
Tritanopia (blue-blind)
#292638
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #341060;
/* rgb */ color: rgb(52, 16, 96);
/* oklch */ color: oklch(28.5% 0.130 297.8);
Tailwind
colors: {
  custom: {
    50: '#71538e',
    500: '#341060',
    950: '#000000',
  },
}
SCSS
$custom: #341060;
$custom-light: #71538e;
$custom-dark: #000000;
JSON
{
  "hex": "#341060",
  "rgb": {
    "r": 52,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 267,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.28495,
    "c": 0.12962,
    "h": 297.8
  },
  "luminance": 0.01945
}

Semantic roles & 50–950 ramp

primary
#341060
secondary
#6B9933
accent
#EE3A9D
background
#F7F4F8
surface
#EDE7F0
border
#C8C3CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341060

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

Preview Lab → · Contrast checker → · Palette generator →

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