#341E83#341E83

#341E83 is a dark, vivid violet. Relative luminance 0.033; OKLCH L 33.8% C 0.157 H 284.2°. Best body text is #FFFFFF at 12.66:1 contrast (WCAG AA passes).

Color values

HEX#341E83
RGBrgb(52, 30, 131)
HSLhsl(253, 63%, 32%)
HSVhsv(253, 77%, 51%)
CMYKcmyk(60.3%, 77.1%, 0%, 48.6%)
CIE-LABlab(21.20, 38.49, -52.85)
CIE-LCHlch(21.20, 65.39, 306.07°)
OKLaboklab(33.77% 0.0384 -0.1523)
OKLCHoklch(33.77% 0.157 284.2)
XYZxyz(5.9759, 3.2969, 21.7898)
Luminance0.0330 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E83 #6D831E
analogous
#1E3B83 #341E83 #671E83
triadic
#341E83 #83341E #1E8334
tetradic
#341E83 #831E3B #6D831E #1E8367
square
#341E83 #831E3B #6D831E #1E8367
split-complementary
#341E83 #83671E #3B831E
monochromatic
#0C071F #201351 #341E83 #4829B5 #6647D5

Accessibility & contrast

On white

12.66
#341E83 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#341E83 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E83
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E83#FFFFFF#000000##FFFFFF
##341E831.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003686
Deuteranopia (green-blind)
#003081
Tritanopia (blue-blind)
#053A4F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #341e83;
/* rgb */ color: rgb(52, 30, 131);
/* oklch */ color: oklch(33.8% 0.157 284.2);
Tailwind
colors: {
  custom: {
    50: '#765da8',
    500: '#341e83',
    950: '#000000',
  },
}
SCSS
$custom: #341e83;
$custom-light: #765da8;
$custom-dark: #000000;
JSON
{
  "hex": "#341e83",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 131
  },
  "hsl": {
    "h": 253.069,
    "s": 62.733,
    "l": 31.569
  },
  "oklch": {
    "l": 0.33772,
    "c": 0.15705,
    "h": 284.2
  },
  "luminance": 0.03297
}

Semantic roles & 50–950 ramp

primary
#341E83
secondary
#9EB647
accent
#E642C2
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#090410
muted
#7B797F

Preview Lab

Preview with #341E83

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

Preview Lab → · Contrast checker → · Palette generator →

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