#341C66#341C66

#341C66 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.7% C 0.122 H 292.6°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#341C66
RGBrgb(52, 28, 102)
HSLhsl(259, 57%, 25%)
HSVhsv(259, 73%, 40%)
CMYKcmyk(49%, 72.5%, 0%, 60%)
CIE-LABlab(18.01, 30.59, -39.42)
CIE-LCHlch(18.01, 49.90, 307.81°)
OKLaboklab(30.66% 0.047 -0.1129)
OKLCHoklch(30.66% 0.122 292.6)
XYZxyz(4.2290, 2.5197, 12.8313)
Luminance0.0252 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C66 #4E661C
analogous
#1C2966 #341C66 #591C66
triadic
#341C66 #66341C #1C6634
tetradic
#341C66 #661C29 #4E661C #1C6659
square
#341C66 #661C29 #4E661C #1C6659
split-complementary
#341C66 #66591C #29661C
monochromatic
#0C0718 #1C0F36 #341C66 #4C2996 #6536C6

Accessibility & contrast

On white

13.96
#341C66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#341C66 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341C66
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C66#FFFFFF#000000##FFFFFF
##341C661.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D68
Deuteranopia (green-blind)
#002B65
Tritanopia (blue-blind)
#252E3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341c66;
/* rgb */ color: rgb(52, 28, 102);
/* oklch */ color: oklch(30.7% 0.122 292.6);
Tailwind
colors: {
  custom: {
    50: '#715a92',
    500: '#341c66',
    950: '#000000',
  },
}
SCSS
$custom: #341c66;
$custom-light: #715a92;
$custom-dark: #000000;
JSON
{
  "hex": "#341c66",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 102
  },
  "hsl": {
    "h": 259.459,
    "s": 56.923,
    "l": 25.49
  },
  "oklch": {
    "l": 0.30656,
    "c": 0.12226,
    "h": 292.6
  },
  "luminance": 0.0252
}

Semantic roles & 50–950 ramp

primary
#341C66
secondary
#7E9B43
accent
#E048AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341C66

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

Preview Lab → · Contrast checker → · Palette generator →

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