#6A378C#6A378C

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

Color values

HEX#6A378C
RGBrgb(106, 55, 140)
HSLhsl(276, 44%, 38%)
HSVhsv(276, 61%, 55%)
CMYKcmyk(24.3%, 60.7%, 0%, 45.1%)
CIE-LABlab(33.33, 38.50, -38.48)
CIE-LCHlch(33.33, 54.44, 315.02°)
OKLaboklab(44.17% 0.0893 -0.1083)
OKLCHoklch(44.17% 0.14 309.5)
XYZxyz(12.0428, 7.6902, 25.6558)
Luminance0.0769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A378C #598C37
analogous
#3F378C #6A378C #8C3783
triadic
#6A378C #8C6A37 #378C6A
tetradic
#6A378C #8C3F37 #598C37 #37838C
square
#6A378C #8C3F37 #598C37 #37838C
split-complementary
#6A378C #838C37 #378C3F
monochromatic
#271434 #492660 #6A378C #8B49B7 #A775C9

Accessibility & contrast

On white

8.27
#6A378C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A378C
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A378C#FFFFFF#000000##FFFFFF
##6A378C1.008.272.548.27
#FFFFFF8.271.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#174C8F
Deuteranopia (green-blind)
#2D4F8A
Tritanopia (blue-blind)
#65475C
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6a378c;
/* rgb */ color: rgb(106, 55, 140);
/* oklch */ color: oklch(44.2% 0.140 309.5);
Tailwind
colors: {
  custom: {
    50: '#9770ae',
    500: '#6a378c',
    950: '#000000',
  },
}
SCSS
$custom: #6a378c;
$custom-light: #9770ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6a378c",
  "rgb": {
    "r": 106,
    "g": 55,
    "b": 140
  },
  "hsl": {
    "h": 276,
    "s": 43.59,
    "l": 38.235
  },
  "oklch": {
    "l": 0.44169,
    "c": 0.14036,
    "h": 309.5
  },
  "luminance": 0.0769
}

Semantic roles & 50–950 ramp

primary
#6A378C
secondary
#89B16D
accent
#D35487
background
#F9F6FA
surface
#F2ECF4
border
#CCC7CE
text
#0E0810
muted
#7E7B7F

Preview Lab

Preview with #6A378C

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

Preview Lab → · Contrast checker → · Palette generator →

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