#341960#341960

#341960 is a dark, moderate violet. Relative luminance 0.023; OKLCH L 29.7% C 0.119 H 295.7°. Best body text is #FFFFFF at 14.44:1 contrast (WCAG AA passes).

Color values

HEX#341960
RGBrgb(52, 25, 96)
HSLhsl(263, 59%, 24%)
HSVhsv(263, 74%, 38%)
CMYKcmyk(45.8%, 74%, 0%, 62.4%)
CIE-LABlab(16.84, 30.51, -37.35)
CIE-LCHlch(16.84, 48.23, 309.24°)
OKLaboklab(29.66% 0.0514 -0.1068)
OKLCHoklch(29.66% 0.119 295.7)
XYZxyz(3.8746, 2.2698, 11.2980)
Luminance0.0227 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341960 #456019
analogous
#192160 #341960 #571960
triadic
#341960 #603419 #196034
tetradic
#341960 #601921 #456019 #196057
square
#341960 #601921 #456019 #196057
split-complementary
#341960 #605719 #216019
monochromatic
#0D0618 #1A0C2F #341960 #4E2691 #6932C1

Accessibility & contrast

On white

14.44
#341960 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#341960 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341960
14.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341960#FFFFFF#000000##FFFFFF
##3419601.0014.441.4514.44
#FFFFFF14.441.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A62
Deuteranopia (green-blind)
#00295F
Tritanopia (blue-blind)
#282A3A
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #341960;
/* rgb */ color: rgb(52, 25, 96);
/* oklch */ color: oklch(29.7% 0.119 295.7);
Tailwind
colors: {
  custom: {
    50: '#70588e',
    500: '#341960',
    950: '#000000',
  },
}
SCSS
$custom: #341960;
$custom-light: #70588e;
$custom-dark: #000000;
JSON
{
  "hex": "#341960",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 96
  },
  "hsl": {
    "h": 262.817,
    "s": 58.678,
    "l": 23.725
  },
  "oklch": {
    "l": 0.29658,
    "c": 0.11853,
    "h": 295.7
  },
  "luminance": 0.0227
}

Semantic roles & 50–950 ramp

primary
#341960
secondary
#75963F
accent
#E246A7
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08030C
muted
#7B787D

Preview Lab

Preview with #341960

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

Preview Lab → · Contrast checker → · Palette generator →

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