#341E70#341E70

#341E70 is a dark, vivid violet. Relative luminance 0.028; OKLCH L 31.9% C 0.133 H 288.9°. Best body text is #FFFFFF at 13.41:1 contrast (WCAG AA passes).

Color values

HEX#341E70
RGBrgb(52, 30, 112)
HSLhsl(256, 58%, 28%)
HSVhsv(256, 73%, 44%)
CMYKcmyk(53.6%, 73.2%, 0%, 56.1%)
CIE-LABlab(19.34, 32.53, -43.76)
CIE-LCHlch(19.34, 54.53, 306.63°)
OKLaboklab(31.89% 0.0429 -0.1256)
OKLCHoklch(31.89% 0.133 288.9)
XYZxyz(4.8042, 2.8282, 15.6189)
Luminance0.0283 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E70 #5A701E
analogous
#1E3170 #341E70 #5D1E70
triadic
#341E70 #70341E #1E7034
tetradic
#341E70 #701E31 #5A701E #1E705D
square
#341E70 #701E31 #5A701E #1E705D
split-complementary
#341E70 #705D1E #31701E
monochromatic
#0B0618 #1E1140 #341E70 #4A2BA0 #633DCB

Accessibility & contrast

On white

13.41
#341E70 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#341E70 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E70
13.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E70#FFFFFF#000000##FFFFFF
##341E701.0013.411.5713.41
#FFFFFF13.411.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003172
Deuteranopia (green-blind)
#002D6E
Tritanopia (blue-blind)
#1E3344
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #341e70;
/* rgb */ color: rgb(52, 30, 112);
/* oklch */ color: oklch(31.9% 0.133 288.9);
Tailwind
colors: {
  custom: {
    50: '#725c9a',
    500: '#341e70',
    950: '#000000',
  },
}
SCSS
$custom: #341e70;
$custom-light: #725c9a;
$custom-dark: #000000;
JSON
{
  "hex": "#341e70",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 112
  },
  "hsl": {
    "h": 256.098,
    "s": 57.746,
    "l": 27.843
  },
  "oklch": {
    "l": 0.31893,
    "c": 0.13277,
    "h": 288.9
  },
  "luminance": 0.02828
}

Semantic roles & 50–950 ramp

primary
#341E70
secondary
#8BA446
accent
#E147B8
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040E
muted
#7B797E

Preview Lab

Preview with #341E70

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

Preview Lab → · Contrast checker → · Palette generator →

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