#341F93#341F93

#341F93 is a dark, vivid violet. Relative luminance 0.038; OKLCH L 35.6% C 0.176 H 280.9°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#341F93
RGBrgb(52, 31, 147)
HSLhsl(251, 65%, 35%)
HSVhsv(251, 79%, 58%)
CMYKcmyk(64.6%, 78.9%, 0%, 42.4%)
CIE-LABlab(23.05, 42.94, -59.78)
CIE-LCHlch(23.05, 73.61, 305.69°)
OKLaboklab(35.58% 0.0334 -0.1725)
OKLCHoklch(35.58% 0.176 280.9)
XYZxyz(7.1710, 3.8161, 27.9568)
Luminance0.0382 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341F93 #7E931F
analogous
#1F4493 #341F93 #6E1F93
triadic
#341F93 #93341F #1F9334
tetradic
#341F93 #931F44 #7E931F #1F936E
square
#341F93 #931F44 #7E931F #1F936E
split-complementary
#341F93 #936E1F #44931F
monochromatic
#100A2E #221460 #341F93 #462AC6 #6B52DA

Accessibility & contrast

On white

11.91
#341F93 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#341F93 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341F93
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341F93#FFFFFF#000000##FFFFFF
##341F931.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B96
Deuteranopia (green-blind)
#003391
Tritanopia (blue-blind)
#004158
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #341f93;
/* rgb */ color: rgb(52, 31, 147);
/* oklch */ color: oklch(35.6% 0.176 280.9);
Tailwind
colors: {
  custom: {
    50: '#795eb4',
    500: '#341f93',
    950: '#000000',
  },
}
SCSS
$custom: #341f93;
$custom-light: #795eb4;
$custom-dark: #000000;
JSON
{
  "hex": "#341f93",
  "rgb": {
    "r": 52,
    "g": 31,
    "b": 147
  },
  "hsl": {
    "h": 250.862,
    "s": 65.169,
    "l": 34.902
  },
  "oklch": {
    "l": 0.35577,
    "c": 0.17571,
    "h": 280.9
  },
  "luminance": 0.03817
}

Semantic roles & 50–950 ramp

primary
#341F93
secondary
#AABE50
accent
#E840CA
background
#F7F5FB
surface
#EEE9F6
border
#C9C5D0
text
#0A0511
muted
#7C7980

Preview Lab

Preview with #341F93

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

Preview Lab → · Contrast checker → · Palette generator →

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