#341973#341973

#341973 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.5% C 0.143 H 289.2°. Best body text is #FFFFFF at 13.70:1 contrast (WCAG AA passes).

Color values

HEX#341973
RGBrgb(52, 25, 115)
HSLhsl(258, 64%, 27%)
HSVhsv(258, 78%, 45%)
CMYKcmyk(54.8%, 78.3%, 0%, 54.9%)
CIE-LABlab(18.64, 36.24, -46.85)
CIE-LCHlch(18.64, 59.23, 307.72°)
OKLaboklab(31.48% 0.0469 -0.1347)
OKLCHoklch(31.48% 0.143 289.2)
XYZxyz(4.8574, 2.6629, 16.4744)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341973 #587319
analogous
#192B73 #341973 #611973
triadic
#341973 #733419 #197334
tetradic
#341973 #73192B #587319 #197361
square
#341973 #73192B #587319 #197361
split-complementary
#341973 #736119 #2B7319
monochromatic
#0B0519 #1D0E41 #341973 #4B24A5 #6334D3

Accessibility & contrast

On white

13.70
#341973 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#341973 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341973
13.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341973#FFFFFF#000000##FFFFFF
##3419731.0013.701.5313.70
#FFFFFF13.701.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F76
Deuteranopia (green-blind)
#002B71
Tritanopia (blue-blind)
#1C3245
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341973;
/* rgb */ color: rgb(52, 25, 115);
/* oklch */ color: oklch(31.5% 0.143 289.2);
Tailwind
colors: {
  custom: {
    50: '#73599c',
    500: '#341973',
    950: '#000000',
  },
}
SCSS
$custom: #341973;
$custom-light: #73599c;
$custom-dark: #000000;
JSON
{
  "hex": "#341973",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 115
  },
  "hsl": {
    "h": 258,
    "s": 64.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.31484,
    "c": 0.14259,
    "h": 289.2
  },
  "luminance": 0.02663
}

Semantic roles & 50–950 ramp

primary
#341973
secondary
#89A840
accent
#E741B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341973

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

Preview Lab → · Contrast checker → · Palette generator →

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