#341D61#341D61

#341D61 is a dark, moderate violet. Relative luminance 0.025; OKLCH L 30.4% C 0.114 H 294.1°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#341D61
RGBrgb(52, 29, 97)
HSLhsl(260, 54%, 25%)
HSVhsv(260, 70%, 38%)
CMYKcmyk(46.4%, 70.1%, 0%, 62%)
CIE-LABlab(17.79, 28.45, -36.48)
CIE-LCHlch(17.79, 46.26, 307.95°)
OKLaboklab(30.36% 0.0466 -0.1042)
OKLCHoklch(30.36% 0.114 294.1)
XYZxyz(4.0126, 2.4718, 11.5726)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341D61 #4A611D
analogous
#1D2861 #341D61 #561D61
triadic
#341D61 #61341D #1D6134
tetradic
#341D61 #611D28 #4A611D #1D6156
square
#341D61 #611D28 #4A611D #1D6156
split-complementary
#341D61 #61561D #28611D
monochromatic
#0D0718 #1B0F32 #341D61 #4D2B90 #6739BF

Accessibility & contrast

On white

14.05
#341D61 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#341D61 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341D61
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341D61#FFFFFF#000000##FFFFFF
##341D611.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C63
Deuteranopia (green-blind)
#002A60
Tritanopia (blue-blind)
#282D3C
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #341d61;
/* rgb */ color: rgb(52, 29, 97);
/* oklch */ color: oklch(30.4% 0.114 294.1);
Tailwind
colors: {
  custom: {
    50: '#705a8e',
    500: '#341d61',
    950: '#000000',
  },
}
SCSS
$custom: #341d61;
$custom-light: #705a8e;
$custom-dark: #000000;
JSON
{
  "hex": "#341d61",
  "rgb": {
    "r": 52,
    "g": 29,
    "b": 97
  },
  "hsl": {
    "h": 260.294,
    "s": 53.968,
    "l": 24.706
  },
  "oklch": {
    "l": 0.30364,
    "c": 0.11418,
    "h": 294.1
  },
  "luminance": 0.02472
}

Semantic roles & 50–950 ramp

primary
#341D61
secondary
#7A9644
accent
#DD4AAC
background
#F7F5F8
surface
#EDE9F0
border
#C8C5CB
text
#08040C
muted
#7B797D

Preview Lab

Preview with #341D61

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

Preview Lab → · Contrast checker → · Palette generator →

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