#341972#341972

#341972 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 31.4% C 0.141 H 289.5°. Best body text is #FFFFFF at 13.74:1 contrast (WCAG AA passes).

Color values

HEX#341972
RGBrgb(52, 25, 114)
HSLhsl(258, 64%, 27%)
HSVhsv(258, 78%, 45%)
CMYKcmyk(54.4%, 78.1%, 0%, 55.3%)
CIE-LABlab(18.54, 35.94, -46.37)
CIE-LCHlch(18.54, 58.66, 307.78°)
OKLaboklab(31.38% 0.0471 -0.1332)
OKLCHoklch(31.38% 0.141 289.5)
XYZxyz(4.8002, 2.6400, 16.1730)
Luminance0.0264 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341972 #577219
analogous
#192B72 #341972 #611972
triadic
#341972 #723419 #197234
tetradic
#341972 #72192B #577219 #197261
square
#341972 #72192B #577219 #197261
split-complementary
#341972 #726119 #2B7219
monochromatic
#0B0619 #1D0E40 #341972 #4B24A4 #6333D2

Accessibility & contrast

On white

13.74
#341972 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341972
13.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341972#FFFFFF#000000##FFFFFF
##3419721.0013.741.5313.74
#FFFFFF13.741.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F75
Deuteranopia (green-blind)
#002B70
Tritanopia (blue-blind)
#1D3144
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341972;
/* rgb */ color: rgb(52, 25, 114);
/* oklch */ color: oklch(31.4% 0.141 289.5);
Tailwind
colors: {
  custom: {
    50: '#73599b',
    500: '#341972',
    950: '#000000',
  },
}
SCSS
$custom: #341972;
$custom-light: #73599b;
$custom-dark: #000000;
JSON
{
  "hex": "#341972",
  "rgb": {
    "r": 52,
    "g": 25,
    "b": 114
  },
  "hsl": {
    "h": 258.202,
    "s": 64.029,
    "l": 27.255
  },
  "oklch": {
    "l": 0.31383,
    "c": 0.14134,
    "h": 289.5
  },
  "luminance": 0.0264
}

Semantic roles & 50–950 ramp

primary
#341972
secondary
#88A740
accent
#E741B5
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#09040E
muted
#7B797E

Preview Lab

Preview with #341972

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

Preview Lab → · Contrast checker → · Palette generator →

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