#341A6B#341A6B

#341A6B is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.8% C 0.131 H 291.4°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#341A6B
RGBrgb(52, 26, 107)
HSLhsl(259, 61%, 26%)
HSVhsv(259, 76%, 42%)
CMYKcmyk(51.4%, 75.7%, 0%, 58%)
CIE-LABlab(18.05, 33.27, -42.62)
CIE-LCHlch(18.05, 54.07, 307.98°)
OKLaboklab(30.83% 0.048 -0.1223)
OKLCHoklch(30.83% 0.131 291.4)
XYZxyz(4.4387, 2.5302, 14.1616)
Luminance0.0253 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A6B #516B1A
analogous
#1A286B #341A6B #5C1A6B
triadic
#341A6B #6B341A #1A6B34
tetradic
#341A6B #6B1A28 #516B1A #1A6B5C
square
#341A6B #6B1A28 #516B1A #1A6B5C
split-complementary
#341A6B #6B5C1A #286B1A
monochromatic
#0C0619 #1C0E3A #341A6B #4C269C #6432CD

Accessibility & contrast

On white

13.94
#341A6B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#341A6B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A6B
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A6B#FFFFFF#000000##FFFFFF
##341A6B1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D6D
Deuteranopia (green-blind)
#002A69
Tritanopia (blue-blind)
#222F40
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341a6b;
/* rgb */ color: rgb(52, 26, 107);
/* oklch */ color: oklch(30.8% 0.131 291.4);
Tailwind
colors: {
  custom: {
    50: '#725996',
    500: '#341a6b',
    950: '#000000',
  },
}
SCSS
$custom: #341a6b;
$custom-light: #725996;
$custom-dark: #000000;
JSON
{
  "hex": "#341a6b",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 107
  },
  "hsl": {
    "h": 259.259,
    "s": 60.902,
    "l": 26.078
  },
  "oklch": {
    "l": 0.30832,
    "c": 0.13134,
    "h": 291.4
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#341A6B
secondary
#82A040
accent
#E444B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341A6B

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

Preview Lab → · Contrast checker → · Palette generator →

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