#341E63#341E63

#341E63 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.7% C 0.115 H 293.0°. Best body text is #FFFFFF at 13.89:1 contrast (WCAG AA passes).

Color values

HEX#341E63
RGBrgb(52, 30, 99)
HSLhsl(259, 53%, 25%)
HSVhsv(259, 70%, 39%)
CMYKcmyk(47.5%, 69.7%, 0%, 61.2%)
CIE-LABlab(18.18, 28.46, -37.16)
CIE-LCHlch(18.18, 46.81, 307.45°)
OKLaboklab(30.7% 0.0451 -0.1062)
OKLCHoklch(30.7% 0.115 293)
XYZxyz(4.1320, 2.5593, 12.0783)
Luminance0.0256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341E63 #4D631E
analogous
#1E2B63 #341E63 #561E63
triadic
#341E63 #63341E #1E6334
tetradic
#341E63 #631E2B #4D631E #1E6356
square
#341E63 #631E2B #4D631E #1E6356
split-complementary
#341E63 #63561E #2B631E
monochromatic
#0C0717 #1B1034 #341E63 #4D2C92 #653AC1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##341E63#FFFFFF#000000##FFFFFF
##341E631.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)
#002D65
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#262E3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341e63;
/* rgb */ color: rgb(52, 30, 99);
/* oklch */ color: oklch(30.7% 0.115 293.0);
Tailwind
colors: {
  custom: {
    50: '#705b90',
    500: '#341e63',
    950: '#000000',
  },
}
SCSS
$custom: #341e63;
$custom-light: #705b90;
$custom-dark: #000000;
JSON
{
  "hex": "#341e63",
  "rgb": {
    "r": 52,
    "g": 30,
    "b": 99
  },
  "hsl": {
    "h": 259.13,
    "s": 53.488,
    "l": 25.294
  },
  "oklch": {
    "l": 0.30702,
    "c": 0.11543,
    "h": 293
  },
  "luminance": 0.02559
}

Semantic roles & 50–950 ramp

primary
#341E63
secondary
#7D9845
accent
#DD4BAE
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341E63

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

Preview Lab → · Contrast checker → · Palette generator →

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