#341685#341685

#341685 is a dark, vivid violet. Relative luminance 0.030; OKLCH L 33.0% C 0.167 H 285.0°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#341685
RGBrgb(52, 22, 133)
HSLhsl(256, 72%, 30%)
HSVhsv(256, 83%, 52%)
CMYKcmyk(60.9%, 83.5%, 0%, 47.8%)
CIE-LABlab(20.03, 43.06, -56.03)
CIE-LCHlch(20.03, 70.67, 307.54°)
OKLaboklab(33.02% 0.0432 -0.1615)
OKLCHoklch(33.02% 0.167 285)
XYZxyz(5.9354, 2.9970, 22.4515)
Luminance0.0300 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341685 #678516
analogous
#163085 #341685 #6B1685
triadic
#341685 #853416 #168534
tetradic
#341685 #851630 #678516 #16856B
square
#341685 #851630 #678516 #16856B
split-complementary
#341685 #856B16 #308516
monochromatic
#0B051C #1F0D50 #341685 #491FBA #6437DE

Accessibility & contrast

On white

13.13
#341685 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#341685 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341685
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341685#FFFFFF#000000##FFFFFF
##3416851.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003388
Deuteranopia (green-blind)
#002D83
Tritanopia (blue-blind)
#02384E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #341685;
/* rgb */ color: rgb(52, 22, 133);
/* oklch */ color: oklch(33.0% 0.167 285.0);
Tailwind
colors: {
  custom: {
    50: '#7758aa',
    500: '#341685',
    950: '#000000',
  },
}
SCSS
$custom: #341685;
$custom-light: #7758aa;
$custom-dark: #000000;
JSON
{
  "hex": "#341685",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 133
  },
  "hsl": {
    "h": 256.216,
    "s": 71.613,
    "l": 30.392
  },
  "oklch": {
    "l": 0.33024,
    "c": 0.16716,
    "h": 285
  },
  "luminance": 0.02997
}

Semantic roles & 50–950 ramp

primary
#341685
secondary
#98B93E
accent
#EE39BD
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341685

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

Preview Lab → · Contrast checker → · Palette generator →

#341685 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva