#341A64#341A64

#341A64 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.2% C 0.122 H 293.9°. Best body text is #FFFFFF at 14.21:1 contrast (WCAG AA passes).

Color values

HEX#341A64
RGBrgb(52, 26, 100)
HSLhsl(261, 59%, 25%)
HSVhsv(261, 74%, 39%)
CMYKcmyk(48%, 74%, 0%, 60.8%)
CIE-LABlab(17.41, 31.14, -39.08)
CIE-LCHlch(17.41, 49.97, 308.55°)
OKLaboklab(30.17% 0.0495 -0.1119)
OKLCHoklch(30.17% 0.122 293.9)
XYZxyz(4.0852, 2.3888, 12.3000)
Luminance0.0239 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A64 #4A641A
analogous
#1A2564 #341A64 #591A64
triadic
#341A64 #64341A #1A6434
tetradic
#341A64 #641A25 #4A641A #1A6459
square
#341A64 #641A25 #4A641A #1A6459
split-complementary
#341A64 #64591A #25641A
monochromatic
#0D0618 #1B0D33 #341A64 #4D2795 #6733C5

Accessibility & contrast

On white

14.21
#341A64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#341A64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A64
14.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A64#FFFFFF#000000##FFFFFF
##341A641.0014.211.4814.21
#FFFFFF14.211.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C66
Deuteranopia (green-blind)
#002963
Tritanopia (blue-blind)
#262D3D
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341a64;
/* rgb */ color: rgb(52, 26, 100);
/* oklch */ color: oklch(30.2% 0.122 293.9);
Tailwind
colors: {
  custom: {
    50: '#715991',
    500: '#341a64',
    950: '#000000',
  },
}
SCSS
$custom: #341a64;
$custom-light: #715991;
$custom-dark: #000000;
JSON
{
  "hex": "#341a64",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 100
  },
  "hsl": {
    "h": 261.081,
    "s": 58.73,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30172,
    "c": 0.12235,
    "h": 293.9
  },
  "luminance": 0.02389
}

Semantic roles & 50–950 ramp

primary
#341A64
secondary
#7A9A40
accent
#E246AB
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341A64

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

Preview Lab → · Contrast checker → · Palette generator →

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