#341D63#341D63

#341D63 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.5% C 0.117 H 293.3°. Best body text is #FFFFFF at 13.98:1 contrast (WCAG AA passes).

Color values

HEX#341D63
RGBrgb(52, 29, 99)
HSLhsl(260, 55%, 25%)
HSVhsv(260, 71%, 39%)
CMYKcmyk(47.5%, 70.7%, 0%, 61.2%)
CIE-LABlab(17.96, 29.07, -37.52)
CIE-LCHlch(17.96, 47.47, 307.77°)
OKLaboklab(30.54% 0.0463 -0.1073)
OKLCHoklch(30.54% 0.117 293.3)
XYZxyz(4.1071, 2.5095, 12.0700)
Luminance0.0251 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D63 #4C631D
analogous
#1D2963 #341D63 #571D63
triadic
#341D63 #63341D #1D6334
tetradic
#341D63 #631D29 #4C631D #1D6357
square
#341D63 #631D29 #4C631D #1D6357
split-complementary
#341D63 #63571D #29631D
monochromatic
#0C0718 #1B0F34 #341D63 #4D2B92 #6639C2

Accessibility & contrast

On white

13.98
#341D63 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #341D63
13.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D63#FFFFFF#000000##FFFFFF
##341D631.0013.981.5013.98
#FFFFFF13.981.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002D65
Deuteranopia (green-blind)
#002B62
Tritanopia (blue-blind)
#272E3D
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341d63;
/* rgb */ color: rgb(52, 29, 99);
/* oklch */ color: oklch(30.5% 0.117 293.3);
Tailwind
colors: {
  custom: {
    50: '#705b90',
    500: '#341d63',
    950: '#000000',
  },
}
SCSS
$custom: #341d63;
$custom-light: #705b90;
$custom-dark: #000000;
JSON
{
  "hex": "#341d63",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 99
  },
  "hsl": {
    "h": 259.714,
    "s": 54.688,
    "l": 25.098
  },
  "oklch": {
    "l": 0.30541,
    "c": 0.11688,
    "h": 293.3
  },
  "luminance": 0.0251
}

Semantic roles & 50–950 ramp

primary
#341D63
secondary
#7C9844
accent
#DE4AAD
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341D63

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

Preview Lab → · Contrast checker → · Palette generator →

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