#341F49#341F49

#341F49 is a dark, moderate violet. Relative luminance 0.022; OKLCH L 28.8% C 0.077 H 305.2°. Best body text is #FFFFFF at 14.60:1 contrast (WCAG AA passes).

Color values

HEX#341F49
RGBrgb(52, 31, 73)
HSLhsl(270, 40%, 20%)
HSVhsv(270, 58%, 29%)
CMYKcmyk(28.8%, 57.5%, 0%, 71.4%)
CIE-LABlab(16.46, 19.98, -22.44)
CIE-LCHlch(16.46, 30.05, 311.68°)
OKLaboklab(28.81% 0.0444 -0.063)
OKLCHoklch(28.81% 0.077 305.2)
XYZxyz(3.1085, 2.1911, 6.5612)
Luminance0.0219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341F49 #34491F
analogous
#1F1F49 #341F49 #491F49
triadic
#341F49 #49341F #1F4934
tetradic
#341F49 #491F1F #34491F #1F4949
square
#341F49 #491F1F #34491F #1F4949
split-complementary
#341F49 #49491F #1F491F
monochromatic
#0F0915 #150D1E #341F49 #533174 #71439F

Accessibility & contrast

On white

14.60
#341F49 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#341F49 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341F49
14.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341F49#FFFFFF#000000##FFFFFF
##341F491.0014.601.4414.60
#FFFFFF14.601.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#12284A
Deuteranopia (green-blind)
#182948
Tritanopia (blue-blind)
#312730
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #341f49;
/* rgb */ color: rgb(52, 31, 73);
/* oklch */ color: oklch(28.8% 0.077 305.2);
Tailwind
colors: {
  custom: {
    50: '#6d5b7c',
    500: '#341f49',
    950: '#000000',
  },
}
SCSS
$custom: #341f49;
$custom-light: #6d5b7c;
$custom-dark: #000000;
JSON
{
  "hex": "#341f49",
  "rgb": {
    "r": 52,
    "g": 31,
    "b": 73
  },
  "hsl": {
    "h": 270,
    "s": 40.385,
    "l": 20.392
  },
  "oklch": {
    "l": 0.28814,
    "c": 0.07712,
    "h": 305.2
  },
  "luminance": 0.02191
}

Semantic roles & 50–950 ramp

primary
#341F49
secondary
#627E46
accent
#D05894
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#070409
muted
#7A797B

Preview Lab

Preview with #341F49

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

Preview Lab → · Contrast checker → · Palette generator →

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