#341C68#341C68

#341C68 is a dark, vivid violet. Relative luminance 0.026; OKLCH L 30.8% C 0.125 H 291.9°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#341C68
RGBrgb(52, 28, 104)
HSLhsl(259, 58%, 26%)
HSVhsv(259, 73%, 41%)
CMYKcmyk(50%, 73.1%, 0%, 59.2%)
CIE-LABlab(18.19, 31.21, -40.44)
CIE-LCHlch(18.19, 51.08, 307.66°)
OKLaboklab(30.84% 0.0466 -0.1159)
OKLCHoklch(30.84% 0.125 291.9)
XYZxyz(4.3294, 2.5599, 13.3600)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C68 #50681C
analogous
#1C2A68 #341C68 #5A1C68
triadic
#341C68 #68341C #1C6834
tetradic
#341C68 #681C2A #50681C #1C685A
square
#341C68 #681C2A #50681C #1C685A
split-complementary
#341C68 #685A1C #2A681C
monochromatic
#0C0618 #1C0F38 #341C68 #4C2998 #6436C8

Accessibility & contrast

On white

13.89
#341C68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C68
13.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C68#FFFFFF#000000##FFFFFF
##341C681.0013.891.5113.89
#FFFFFF13.891.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E6A
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#242F3F
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341c68;
/* rgb */ color: rgb(52, 28, 104);
/* oklch */ color: oklch(30.8% 0.125 291.9);
Tailwind
colors: {
  custom: {
    50: '#715a94',
    500: '#341c68',
    950: '#000000',
  },
}
SCSS
$custom: #341c68;
$custom-light: #715a94;
$custom-dark: #000000;
JSON
{
  "hex": "#341c68",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 104
  },
  "hsl": {
    "h": 258.947,
    "s": 57.576,
    "l": 25.882
  },
  "oklch": {
    "l": 0.30841,
    "c": 0.12489,
    "h": 291.9
  },
  "luminance": 0.0256
}

Semantic roles & 50–950 ramp

primary
#341C68
secondary
#819D43
accent
#E147B0
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341C68

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

Preview Lab → · Contrast checker → · Palette generator →

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