#341C65#341C65

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

Color values

HEX#341C65
RGBrgb(52, 28, 101)
HSLhsl(260, 57%, 25%)
HSVhsv(260, 72%, 40%)
CMYKcmyk(48.5%, 72.3%, 0%, 60.4%)
CIE-LABlab(17.92, 30.28, -38.91)
CIE-LCHlch(17.92, 49.30, 307.89°)
OKLaboklab(30.57% 0.0471 -0.1114)
OKLCHoklch(30.57% 0.121 292.9)
XYZxyz(4.1797, 2.5000, 12.5717)
Luminance0.0250 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341C65 #4D651C
analogous
#1C2865 #341C65 #581C65
triadic
#341C65 #65341C #1C6534
tetradic
#341C65 #651C28 #4D651C #1C6558
square
#341C65 #651C28 #4D651C #1C6558
split-complementary
#341C65 #65581C #28651C
monochromatic
#0C0718 #1B0F35 #341C65 #4D2995 #6537C5

Accessibility & contrast

On white

14.00
#341C65 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341C65
14.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341C65#FFFFFF#000000##FFFFFF
##341C651.0014.001.5014.00
#FFFFFF14.001.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D67
Deuteranopia (green-blind)
#002A64
Tritanopia (blue-blind)
#262E3E
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341c65;
/* rgb */ color: rgb(52, 28, 101);
/* oklch */ color: oklch(30.6% 0.121 292.9);
Tailwind
colors: {
  custom: {
    50: '#715a92',
    500: '#341c65',
    950: '#000000',
  },
}
SCSS
$custom: #341c65;
$custom-light: #715a92;
$custom-dark: #000000;
JSON
{
  "hex": "#341c65",
  "rgb": {
    "r": 52,
    "g": 28,
    "b": 101
  },
  "hsl": {
    "h": 259.726,
    "s": 56.589,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30565,
    "c": 0.12094,
    "h": 292.9
  },
  "luminance": 0.025
}

Semantic roles & 50–950 ramp

primary
#341C65
secondary
#7D9A43
accent
#E048AE
background
#F7F5F9
surface
#EDE9F1
border
#C8C5CB
text
#08040D
muted
#7B797E

Preview Lab

Preview with #341C65

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

Preview Lab → · Contrast checker → · Palette generator →

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