#341A83#341A83

#341A83 is a dark, vivid violet. Relative luminance 0.031; OKLCH L 33.3% C 0.161 H 284.9°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#341A83
RGBrgb(52, 26, 131)
HSLhsl(255, 67%, 31%)
HSVhsv(255, 80%, 51%)
CMYKcmyk(60.3%, 80.2%, 0%, 48.6%)
CIE-LABlab(20.47, 40.57, -54.05)
CIE-LCHlch(20.47, 67.58, 306.89°)
OKLaboklab(33.26% 0.0413 -0.1557)
OKLCHoklch(33.26% 0.161 284.9)
XYZxyz(5.8811, 3.1072, 21.7582)
Luminance0.0311 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A83 #69831A
analogous
#1A3483 #341A83 #681A83
triadic
#341A83 #83341A #1A8334
tetradic
#341A83 #831A34 #69831A #1A8368
square
#341A83 #831A34 #69831A #1A8368
split-complementary
#341A83 #83681A #34831A
monochromatic
#0B061D #201050 #341A83 #4824B6 #653FD9

Accessibility & contrast

On white

12.95
#341A83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#341A83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A83
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A83#FFFFFF#000000##FFFFFF
##341A831.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003486
Deuteranopia (green-blind)
#002E81
Tritanopia (blue-blind)
#06394E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #341a83;
/* rgb */ color: rgb(52, 26, 131);
/* oklch */ color: oklch(33.3% 0.161 284.9);
Tailwind
colors: {
  custom: {
    50: '#765aa8',
    500: '#341a83',
    950: '#000000',
  },
}
SCSS
$custom: #341a83;
$custom-light: #765aa8;
$custom-dark: #000000;
JSON
{
  "hex": "#341a83",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 131
  },
  "hsl": {
    "h": 254.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.33262,
    "c": 0.16113,
    "h": 284.9
  },
  "luminance": 0.03108
}

Semantic roles & 50–950 ramp

primary
#341A83
secondary
#9AB742
accent
#EA3EBF
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #341A83

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

Preview Lab → · Contrast checker → · Palette generator →

#341A83 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva