#6A379E#6A379E

#6A379E is a mid, vivid violet. Relative luminance 0.083; OKLCH L 45.4% C 0.161 H 303.3°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6A379E
RGBrgb(106, 55, 158)
HSLhsl(270, 48%, 42%)
HSVhsv(270, 65%, 62%)
CMYKcmyk(32.9%, 65.2%, 0%, 38%)
CIE-LABlab(34.53, 42.95, -47.53)
CIE-LCHlch(34.53, 64.06, 312.10°)
OKLaboklab(45.42% 0.0886 -0.1349)
OKLCHoklch(45.42% 0.161 303.3)
XYZxyz(13.4802, 8.2652, 33.2263)
Luminance0.0827 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A379E #6B9E37
analogous
#37379E #6A379E #9E379E
triadic
#6A379E #9E6A37 #379E6A
tetradic
#6A379E #9E3737 #6B9E37 #379E9E
square
#6A379E #9E3737 #6B9E37 #379E9E
split-complementary
#6A379E #9E9E37 #379E37
monochromatic
#2D1743 #4C2771 #6A379E #8950C2 #A77DD2

Accessibility & contrast

On white

7.92
#6A379E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6A379E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A379E
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A379E#FFFFFF#000000##FFFFFF
##6A379E1.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050A1
Deuteranopia (green-blind)
#16519C
Tritanopia (blue-blind)
#604D65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a379e;
/* rgb */ color: rgb(106, 55, 158);
/* oklch */ color: oklch(45.4% 0.161 303.3);
Tailwind
colors: {
  custom: {
    50: '#9971bb',
    500: '#6a379e',
    950: '#000000',
  },
}
SCSS
$custom: #6a379e;
$custom-light: #9971bb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a379e",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 158
  },
  "hsl": {
    "h": 269.709,
    "s": 48.357,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45424,
    "c": 0.16135,
    "h": 303.3
  },
  "luminance": 0.08265
}

Semantic roles & 50–950 ramp

primary
#6A379E
secondary
#99BB76
accent
#D85095
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A379E

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

Preview Lab → · Contrast checker → · Palette generator →

#6A379E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva