#341374#341374

#341374 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.9% C 0.150 H 290.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#341374
RGBrgb(52, 19, 116)
HSLhsl(260, 72%, 26%)
HSVhsv(260, 84%, 45%)
CMYKcmyk(55.2%, 83.6%, 0%, 54.5%)
CIE-LABlab(17.72, 39.47, -49.01)
CIE-LCHlch(17.72, 62.93, 308.85°)
OKLaboklab(30.87% 0.0512 -0.1409)
OKLCHoklch(30.87% 0.15 290)
XYZxyz(4.8005, 2.4565, 16.7408)
Luminance0.0246 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341374 #537413
analogous
#132374 #341374 #651374
triadic
#341374 #743413 #137434
tetradic
#341374 #741323 #537413 #137465
square
#341374 #741323 #537413 #137465
split-complementary
#341374 #746513 #237413
monochromatic
#0C041A #1C0A3F #341374 #4C1CA9 #6426DB

Accessibility & contrast

On white

14.08
#341374 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341374 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341374
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341374#FFFFFF#000000##FFFFFF
##3413741.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D77
Deuteranopia (green-blind)
#002972
Tritanopia (blue-blind)
#1C3044
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341374;
/* rgb */ color: rgb(52, 19, 116);
/* oklch */ color: oklch(30.9% 0.150 290.0);
Tailwind
colors: {
  custom: {
    50: '#74569d',
    500: '#341374',
    950: '#000000',
  },
}
SCSS
$custom: #341374;
$custom-light: #74569d;
$custom-dark: #000000;
JSON
{
  "hex": "#341374",
  "rgb": {
    "r": 52,
    "g": 19,
    "b": 116
  },
  "hsl": {
    "h": 260.412,
    "s": 71.852,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30874,
    "c": 0.14995,
    "h": 290
  },
  "luminance": 0.02457
}

Semantic roles & 50–950 ramp

primary
#341374
secondary
#84AA38
accent
#EF39B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09030E
muted
#7B787E

Preview Lab

Preview with #341374

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

Preview Lab → · Contrast checker → · Palette generator →

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