#341B66#341B66

#341B66 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 30.5% C 0.124 H 292.9°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#341B66
RGBrgb(52, 27, 102)
HSLhsl(260, 58%, 25%)
HSVhsv(260, 74%, 40%)
CMYKcmyk(49%, 73.5%, 0%, 60%)
CIE-LABlab(17.80, 31.17, -39.76)
CIE-LCHlch(17.80, 50.53, 308.10°)
OKLaboklab(30.51% 0.048 -0.1139)
OKLCHoklch(30.51% 0.124 292.9)
XYZxyz(4.2057, 2.4731, 12.8236)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341B66 #4D661B
analogous
#1B2766 #341B66 #591B66
triadic
#341B66 #66341B #1B6634
tetradic
#341B66 #661B27 #4D661B #1B6659
square
#341B66 #661B27 #4D661B #1B6659
split-complementary
#341B66 #66591B #27661B
monochromatic
#0C0618 #1B0E36 #341B66 #4D2896 #6535C7

Accessibility & contrast

On white

14.05
#341B66 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341B66
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341B66#FFFFFF#000000##FFFFFF
##341B661.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341b66;
/* rgb */ color: rgb(52, 27, 102);
/* oklch */ color: oklch(30.5% 0.124 292.9);
Tailwind
colors: {
  custom: {
    50: '#715992',
    500: '#341b66',
    950: '#000000',
  },
}
SCSS
$custom: #341b66;
$custom-light: #715992;
$custom-dark: #000000;
JSON
{
  "hex": "#341b66",
  "rgb": {
    "r": 52,
    "g": 27,
    "b": 102
  },
  "hsl": {
    "h": 260,
    "s": 58.14,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30505,
    "c": 0.12361,
    "h": 292.9
  },
  "luminance": 0.02473
}

Semantic roles & 50–950 ramp

primary
#341B66
secondary
#7D9B41
accent
#E146AE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341B66

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

Preview Lab → · Contrast checker → · Palette generator →

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