#6A378D#6A378D

#6A378D is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.2% C 0.142 H 309.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#6A378D
RGBrgb(106, 55, 141)
HSLhsl(276, 44%, 38%)
HSVhsv(276, 61%, 55%)
CMYKcmyk(24.8%, 61%, 0%, 44.7%)
CIE-LABlab(33.39, 38.75, -38.99)
CIE-LCHlch(33.39, 54.97, 314.82°)
OKLaboklab(44.24% 0.0893 -0.1098)
OKLCHoklch(44.24% 0.142 309.1)
XYZxyz(12.1168, 7.7198, 26.0459)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A378D #5A8D37
analogous
#3F378D #6A378D #8D3785
triadic
#6A378D #8D6A37 #378D6A
tetradic
#6A378D #8D3F37 #5A8D37 #37858D
square
#6A378D #8D3F37 #5A8D37 #37858D
split-complementary
#6A378D #858D37 #378D3F
monochromatic
#281535 #492661 #6A378D #8B49B8 #A775C9

Accessibility & contrast

On white

8.25
#6A378D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6A378D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A378D
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A378D#FFFFFF#000000##FFFFFF
##6A378D1.008.252.548.25
#FFFFFF8.251.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#154C90
Deuteranopia (green-blind)
#2C4F8B
Tritanopia (blue-blind)
#65475C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a378d;
/* rgb */ color: rgb(106, 55, 141);
/* oklch */ color: oklch(44.2% 0.142 309.1);
Tailwind
colors: {
  custom: {
    50: '#9770af',
    500: '#6a378d',
    950: '#000000',
  },
}
SCSS
$custom: #6a378d;
$custom-light: #9770af;
$custom-dark: #000000;
JSON
{
  "hex": "#6a378d",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 141
  },
  "hsl": {
    "h": 275.581,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.44236,
    "c": 0.14152,
    "h": 309.1
  },
  "luminance": 0.0772
}

Semantic roles & 50–950 ramp

primary
#6A378D
secondary
#8AB26E
accent
#D45488
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6A378D

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

Preview Lab → · Contrast checker → · Palette generator →

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