#341E68#341E68

#341E68 is a dark, vivid violet. Relative luminance 0.027; OKLCH L 31.1% C 0.122 H 291.3°. Best body text is #FFFFFF at 13.71:1 contrast (WCAG AA passes).

Color values

HEX#341E68
RGBrgb(52, 30, 104)
HSLhsl(258, 55%, 26%)
HSVhsv(258, 71%, 41%)
CMYKcmyk(50%, 71.2%, 0%, 59.2%)
CIE-LABlab(18.62, 30.02, -39.74)
CIE-LCHlch(18.62, 49.80, 307.07°)
OKLaboklab(31.15% 0.0444 -0.1138)
OKLCHoklch(31.15% 0.122 291.3)
XYZxyz(4.3784, 2.6579, 13.3764)
Luminance0.0266 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E68 #52681E
analogous
#1E2D68 #341E68 #591E68
triadic
#341E68 #68341E #1E6834
tetradic
#341E68 #681E2D #52681E #1E6859
square
#341E68 #681E2D #52681E #1E6859
split-complementary
#341E68 #68591E #2D681E
monochromatic
#0C0718 #1C1039 #341E68 #4C2C98 #643AC6

Accessibility & contrast

On white

13.71
#341E68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#341E68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E68
13.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E68#FFFFFF#000000##FFFFFF
##341E681.0013.711.5313.71
#FFFFFF13.711.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F6A
Deuteranopia (green-blind)
#002C67
Tritanopia (blue-blind)
#243040
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341e68;
/* rgb */ color: rgb(52, 30, 104);
/* oklch */ color: oklch(31.1% 0.122 291.3);
Tailwind
colors: {
  custom: {
    50: '#715b94',
    500: '#341e68',
    950: '#000000',
  },
}
SCSS
$custom: #341e68;
$custom-light: #715b94;
$custom-dark: #000000;
JSON
{
  "hex": "#341e68",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 104
  },
  "hsl": {
    "h": 257.838,
    "s": 55.224,
    "l": 26.275
  },
  "oklch": {
    "l": 0.31149,
    "c": 0.12217,
    "h": 291.3
  },
  "luminance": 0.02658
}

Semantic roles & 50–950 ramp

primary
#341E68
secondary
#839D45
accent
#DF49B2
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341E68

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

Preview Lab → · Contrast checker → · Palette generator →

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