#341460#341460

#341460 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 29.0% C 0.125 H 297.0°. Best body text is #FFFFFF at 14.84:1 contrast (WCAG AA passes).

Color values

HEX#341460
RGBrgb(52, 20, 96)
HSLhsl(265, 66%, 23%)
HSVhsv(265, 79%, 38%)
CMYKcmyk(45.8%, 79.2%, 0%, 62.4%)
CIE-LABlab(15.88, 33.23, -38.93)
CIE-LCHlch(15.88, 51.19, 310.48°)
OKLaboklab(28.97% 0.0567 -0.1114)
OKLCHoklch(28.97% 0.125 297)
XYZxyz(3.7771, 2.0748, 11.2655)
Luminance0.0208 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341460 #406014
analogous
#141A60 #341460 #5A1460
triadic
#341460 #603414 #146034
tetradic
#341460 #60141A #406014 #14605A
square
#341460 #60141A #406014 #14605A
split-complementary
#341460 #605A14 #1A6014
monochromatic
#0E0519 #19092D #341460 #4F1F93 #6B29C5

Accessibility & contrast

On white

14.84
#341460 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.42
#341460 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341460
14.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341460#FFFFFF#000000##FFFFFF
##3414601.0014.841.4214.84
#FFFFFF14.841.0021.001.00
#0000001.4221.001.0021.00
##FFFFFF14.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002862
Deuteranopia (green-blind)
#00275F
Tritanopia (blue-blind)
#282839
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #341460;
/* rgb */ color: rgb(52, 20, 96);
/* oklch */ color: oklch(29.0% 0.125 297.0);
Tailwind
colors: {
  custom: {
    50: '#71558e',
    500: '#341460',
    950: '#000000',
  },
}
SCSS
$custom: #341460;
$custom-light: #71558e;
$custom-dark: #000000;
JSON
{
  "hex": "#341460",
  "rgb": {
    "r": 52,
    "g": 20,
    "b": 96
  },
  "hsl": {
    "h": 265.263,
    "s": 65.517,
    "l": 22.745
  },
  "oklch": {
    "l": 0.28971,
    "c": 0.12503,
    "h": 297
  },
  "luminance": 0.02075
}

Semantic roles & 50–950 ramp

primary
#341460
secondary
#6F9838
accent
#E83FA1
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341460

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

Preview Lab → · Contrast checker → · Palette generator →

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