#341A6C#341A6C

#341A6C is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.9% C 0.133 H 291.1°. Best body text is #FFFFFF at 13.90:1 contrast (WCAG AA passes).

Color values

HEX#341A6C
RGBrgb(52, 26, 108)
HSLhsl(259, 61%, 26%)
HSVhsv(259, 76%, 42%)
CMYKcmyk(51.9%, 75.9%, 0%, 57.6%)
CIE-LABlab(18.15, 33.57, -43.11)
CIE-LCHlch(18.15, 54.64, 307.91°)
OKLaboklab(30.93% 0.0478 -0.1237)
OKLCHoklch(30.93% 0.133 291.1)
XYZxyz(4.4916, 2.5514, 14.4403)
Luminance0.0255 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A6C #526C1A
analogous
#1A296C #341A6C #5D1A6C
triadic
#341A6C #6C341A #1A6C34
tetradic
#341A6C #6C1A29 #526C1A #1A6C5D
square
#341A6C #6C1A29 #526C1A #1A6C5D
split-complementary
#341A6C #6C5D1A #296C1A
monochromatic
#0C0619 #1C0E3B #341A6C #4C269D #6433CE

Accessibility & contrast

On white

13.90
#341A6C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341A6C
13.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A6C#FFFFFF#000000##FFFFFF
##341A6C1.0013.901.5113.90
#FFFFFF13.901.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6E
Deuteranopia (green-blind)
#002B6A
Tritanopia (blue-blind)
#213041
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341a6c;
/* rgb */ color: rgb(52, 26, 108);
/* oklch */ color: oklch(30.9% 0.133 291.1);
Tailwind
colors: {
  custom: {
    50: '#725997',
    500: '#341a6c',
    950: '#000000',
  },
}
SCSS
$custom: #341a6c;
$custom-light: #725997;
$custom-dark: #000000;
JSON
{
  "hex": "#341a6c",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 108
  },
  "hsl": {
    "h": 259.024,
    "s": 61.194,
    "l": 26.275
  },
  "oklch": {
    "l": 0.30929,
    "c": 0.13262,
    "h": 291.1
  },
  "luminance": 0.02552
}

Semantic roles & 50–950 ramp

primary
#341A6C
secondary
#83A141
accent
#E443B1
background
#F7F5F9
surface
#EDE9F2
border
#C8C5CC
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341A6C

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

Preview Lab → · Contrast checker → · Palette generator →

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