#341A66#341A66

#341A66 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.4% C 0.125 H 293.1°. Best body text is #FFFFFF at 14.14:1 contrast (WCAG AA passes).

Color values

HEX#341A66
RGBrgb(52, 26, 102)
HSLhsl(261, 59%, 25%)
HSVhsv(261, 75%, 40%)
CMYKcmyk(49%, 74.5%, 0%, 60%)
CIE-LABlab(17.59, 31.75, -40.10)
CIE-LCHlch(17.59, 51.15, 308.37°)
OKLaboklab(30.36% 0.0491 -0.1149)
OKLCHoklch(30.36% 0.125 293.1)
XYZxyz(4.1832, 2.4280, 12.8160)
Luminance0.0243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341A66 #4C661A
analogous
#1A2666 #341A66 #5A1A66
triadic
#341A66 #66341A #1A6634
tetradic
#341A66 #661A26 #4C661A #1A665A
square
#341A66 #661A26 #4C661A #1A665A
split-complementary
#341A66 #665A1A #26661A
monochromatic
#0C0618 #1B0E35 #341A66 #4D2697 #6633C8

Accessibility & contrast

On white

14.14
#341A66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341A66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341A66
14.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341A66#FFFFFF#000000##FFFFFF
##341A661.0014.141.4914.14
#FFFFFF14.141.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C68
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#252D3E
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #341a66;
/* rgb */ color: rgb(52, 26, 102);
/* oklch */ color: oklch(30.4% 0.125 293.1);
Tailwind
colors: {
  custom: {
    50: '#715992',
    500: '#341a66',
    950: '#000000',
  },
}
SCSS
$custom: #341a66;
$custom-light: #715992;
$custom-dark: #000000;
JSON
{
  "hex": "#341a66",
  "rgb": {
    "r": 52,
    "g": 26,
    "b": 102
  },
  "hsl": {
    "h": 260.526,
    "s": 59.375,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30358,
    "c": 0.12494,
    "h": 293.1
  },
  "luminance": 0.02428
}

Semantic roles & 50–950 ramp

primary
#341A66
secondary
#7C9C40
accent
#E345AD
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08030D
muted
#7B787E

Preview Lab

Preview with #341A66

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

Preview Lab → · Contrast checker → · Palette generator →

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