#341DA7#341DA7

#341DA7 is a dark, highly saturated violet. Relative luminance 0.044; OKLCH L 37.5% C 0.201 H 278.1°. Best body text is #FFFFFF at 11.17:1 contrast (WCAG AA passes).

Color values

HEX#341DA7
RGBrgb(52, 29, 167)
HSLhsl(250, 70%, 38%)
HSVhsv(250, 83%, 65%)
CMYKcmyk(68.9%, 82.6%, 0%, 34.5%)
CIE-LABlab(24.95, 49.95, -68.89)
CIE-LCHlch(24.95, 85.09, 305.94°)
OKLaboklab(37.55% 0.0284 -0.199)
OKLCHoklch(37.55% 0.201 278.1)
XYZxyz(8.8283, 4.3980, 36.9354)
Luminance0.0440 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341DA7 #90A71D
analogous
#1D4BA7 #341DA7 #791DA7
triadic
#341DA7 #A7341D #1DA734
tetradic
#341DA7 #A71D4B #90A71D #1DA779
square
#341DA7 #A71D4B #90A71D #1DA779
split-complementary
#341DA7 #A7791D #4BA71D
monochromatic
#140B3F #241473 #341DA7 #4528DA #725CE3

Accessibility & contrast

On white

11.17
#341DA7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.88
#341DA7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341DA7
11.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341DA7#FFFFFF#000000##FFFFFF
##341DA71.0011.171.8811.17
#FFFFFF11.171.0021.001.00
#0000001.8821.001.0021.00
##FFFFFF11.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0040AB
Deuteranopia (green-blind)
#0035A5
Tritanopia (blue-blind)
#004963
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #341da7;
/* rgb */ color: rgb(52, 29, 167);
/* oklch */ color: oklch(37.5% 0.201 278.1);
Tailwind
colors: {
  custom: {
    50: '#7d5ec3',
    500: '#341da7',
    950: '#000000',
  },
}
SCSS
$custom: #341da7;
$custom-light: #7d5ec3;
$custom-dark: #000000;
JSON
{
  "hex": "#341da7",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 167
  },
  "hsl": {
    "h": 250,
    "s": 70.408,
    "l": 38.431
  },
  "oklch": {
    "l": 0.37546,
    "c": 0.20101,
    "h": 278.1
  },
  "luminance": 0.04399
}

Semantic roles & 50–950 ramp

primary
#341DA7
secondary
#B4C759
accent
#ED3BCF
background
#F8F5FC
surface
#EFE9F8
border
#CAC5D1
text
#0B0513
muted
#7C7982

Preview Lab

Preview with #341DA7

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

Preview Lab → · Contrast checker → · Palette generator →

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