#341683#341683

#341683 is a dark, vivid violet. Relative luminance 0.029; OKLCH L 32.8% C 0.165 H 285.5°. Best body text is #FFFFFF at 13.22:1 contrast (WCAG AA passes).

Color values

HEX#341683
RGBrgb(52, 22, 131)
HSLhsl(257, 71%, 30%)
HSVhsv(257, 83%, 51%)
CMYKcmyk(60.3%, 83.2%, 0%, 48.6%)
CIE-LABlab(19.81, 42.48, -55.14)
CIE-LCHlch(19.81, 69.60, 307.61°)
OKLaboklab(32.81% 0.0439 -0.1589)
OKLCHoklch(32.81% 0.165 285.5)
XYZxyz(5.7986, 2.9422, 21.7307)
Luminance0.0294 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#341683 #658316
analogous
#162E83 #341683 #6B1683
triadic
#341683 #833416 #168334
tetradic
#341683 #83162E #658316 #16836B
square
#341683 #83162E #658316 #16836B
split-complementary
#341683 #836B16 #2E8316
monochromatic
#0A041A #1F0D4F #341683 #491FB7 #6436DD

Accessibility & contrast

On white

13.22
#341683 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#341683 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #341683
13.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##341683#FFFFFF#000000##FFFFFF
##3416831.0013.221.5913.22
#FFFFFF13.221.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003386
Deuteranopia (green-blind)
#002D81
Tritanopia (blue-blind)
#06374D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #341683;
/* rgb */ color: rgb(52, 22, 131);
/* oklch */ color: oklch(32.8% 0.165 285.5);
Tailwind
colors: {
  custom: {
    50: '#7658a8',
    500: '#341683',
    950: '#000000',
  },
}
SCSS
$custom: #341683;
$custom-light: #7658a8;
$custom-dark: #000000;
JSON
{
  "hex": "#341683",
  "rgb": {
    "r": 52,
    "g": 22,
    "b": 131
  },
  "hsl": {
    "h": 256.514,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.32806,
    "c": 0.16482,
    "h": 285.5
  },
  "luminance": 0.02943
}

Semantic roles & 50–950 ramp

primary
#341683
secondary
#96B73D
accent
#EE3ABC
background
#F7F5FA
surface
#EEE9F4
border
#C9C5CE
text
#0A0410
muted
#7C797F

Preview Lab

Preview with #341683

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

Preview Lab → · Contrast checker → · Palette generator →

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