#341C67#341C67

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

Color values

HEX#341C67
RGBrgb(52, 28, 103)
HSLhsl(259, 57%, 26%)
HSVhsv(259, 73%, 40%)
CMYKcmyk(49.5%, 72.8%, 0%, 59.6%)
CIE-LABlab(18.10, 30.90, -39.93)
CIE-LCHlch(18.10, 50.49, 307.73°)
OKLaboklab(30.75% 0.0468 -0.1144)
OKLCHoklch(30.75% 0.124 292.2)
XYZxyz(4.2789, 2.5397, 13.0941)
Luminance0.0254 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C67 #4F671C
analogous
#1C2967 #341C67 #591C67
triadic
#341C67 #67341C #1C6734
tetradic
#341C67 #671C29 #4F671C #1C6759
square
#341C67 #671C29 #4F671C #1C6759
split-complementary
#341C67 #67591C #29671C
monochromatic
#0C0718 #1C0F37 #341C67 #4C2997 #6536C7

Accessibility & contrast

On white

13.93
#341C67 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C67
13.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C67#FFFFFF#000000##FFFFFF
##341C671.0013.931.5113.93
#FFFFFF13.931.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #341c67;
/* rgb */ color: rgb(52, 28, 103);
/* oklch */ color: oklch(30.7% 0.124 292.2);
Tailwind
colors: {
  custom: {
    50: '#715a93',
    500: '#341c67',
    950: '#000000',
  },
}
SCSS
$custom: #341c67;
$custom-light: #715a93;
$custom-dark: #000000;
JSON
{
  "hex": "#341c67",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 103
  },
  "hsl": {
    "h": 259.2,
    "s": 57.252,
    "l": 25.686
  },
  "oklch": {
    "l": 0.30748,
    "c": 0.12358,
    "h": 292.2
  },
  "luminance": 0.0254
}

Semantic roles & 50–950 ramp

primary
#341C67
secondary
#7F9C43
accent
#E147AF
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341C67

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

Preview Lab → · Contrast checker → · Palette generator →

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