#341E64#341E64

#341E64 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.8% C 0.117 H 292.7°. Best body text is #FFFFFF at 13.85:1 contrast (WCAG AA passes).

Color values

HEX#341E64
RGBrgb(52, 30, 100)
HSLhsl(259, 54%, 25%)
HSVhsv(259, 70%, 39%)
CMYKcmyk(48%, 70%, 0%, 60.8%)
CIE-LABlab(18.27, 28.77, -37.68)
CIE-LCHlch(18.27, 47.41, 307.37°)
OKLaboklab(30.79% 0.045 -0.1078)
OKLCHoklch(30.79% 0.117 292.7)
XYZxyz(4.1801, 2.5786, 12.3316)
Luminance0.0258 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E64 #4E641E
analogous
#1E2B64 #341E64 #571E64
triadic
#341E64 #64341E #1E6434
tetradic
#341E64 #641E2B #4E641E #1E6457
square
#341E64 #641E2B #4E641E #1E6457
split-complementary
#341E64 #64571E #2B641E
monochromatic
#0C0718 #1C1035 #341E64 #4C2C93 #653AC2

Accessibility & contrast

On white

13.85
#341E64 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#341E64 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341E64
13.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341E64#FFFFFF#000000##FFFFFF
##341E641.0013.851.5213.85
#FFFFFF13.851.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E66
Deuteranopia (green-blind)
#002B63
Tritanopia (blue-blind)
#262F3E
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #341e64;
/* rgb */ color: rgb(52, 30, 100);
/* oklch */ color: oklch(30.8% 0.117 292.7);
Tailwind
colors: {
  custom: {
    50: '#705b91',
    500: '#341e64',
    950: '#000000',
  },
}
SCSS
$custom: #341e64;
$custom-light: #705b91;
$custom-dark: #000000;
JSON
{
  "hex": "#341e64",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 100
  },
  "hsl": {
    "h": 258.857,
    "s": 53.846,
    "l": 25.49
  },
  "oklch": {
    "l": 0.3079,
    "c": 0.11679,
    "h": 292.7
  },
  "luminance": 0.02579
}

Semantic roles & 50–950 ramp

primary
#341E64
secondary
#7E9945
accent
#DD4BAF
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040D
muted
#7B797D

Preview Lab

Preview with #341E64

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

Preview Lab → · Contrast checker → · Palette generator →

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