#6A389C#6A389C

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

Color values

HEX#6A389C
RGBrgb(106, 56, 156)
HSLhsl(270, 47%, 42%)
HSVhsv(270, 64%, 61%)
CMYKcmyk(32.1%, 64.1%, 0%, 38.8%)
CIE-LABlab(34.59, 41.91, -46.23)
CIE-LCHlch(34.59, 62.40, 312.20°)
OKLaboklab(45.42% 0.0875 -0.131)
OKLCHoklch(45.42% 0.158 303.7)
XYZxyz(13.3574, 8.2928, 32.3430)
Luminance0.0829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A389C #6A9C38
analogous
#38389C #6A389C #9C389C
triadic
#6A389C #9C6A38 #389C6A
tetradic
#6A389C #9C3838 #6A9C38 #389C9C
square
#6A389C #9C3838 #6A9C38 #389C9C
split-complementary
#6A389C #9C9C38 #389C38
monochromatic
#2D1842 #4B286F #6A389C #8951C0 #A77ED1

Accessibility & contrast

On white

7.90
#6A389C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.66
#6A389C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A389C
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A389C#FFFFFF#000000##FFFFFF
##6A389C1.007.902.667.90
#FFFFFF7.901.0021.001.00
#0000002.6621.001.0021.00
##FFFFFF7.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00509F
Deuteranopia (green-blind)
#1B519A
Tritanopia (blue-blind)
#614D65
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a389c;
/* rgb */ color: rgb(106, 56, 156);
/* oklch */ color: oklch(45.4% 0.158 303.7);
Tailwind
colors: {
  custom: {
    50: '#9872ba',
    500: '#6a389c',
    950: '#000000',
  },
}
SCSS
$custom: #6a389c;
$custom-light: #9872ba;
$custom-dark: #000000;
JSON
{
  "hex": "#6a389c",
  "rgb": {
    "r": 106,
    "g": 56,
    "b": 156
  },
  "hsl": {
    "h": 270,
    "s": 47.17,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.15758,
    "h": 303.7
  },
  "luminance": 0.08293
}

Semantic roles & 50–950 ramp

primary
#6A389C
secondary
#98BA76
accent
#D75194
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0812
muted
#7E7B81

Preview Lab

Preview with #6A389C

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

Preview Lab → · Contrast checker → · Palette generator →

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