#6A3D94#6A3D94

#6A3D94 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 45.6% C 0.140 H 305.4°. Best body text is #FFFFFF at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#6A3D94
RGBrgb(106, 61, 148)
HSLhsl(271, 42%, 41%)
HSVhsv(271, 59%, 58%)
CMYKcmyk(28.4%, 58.8%, 0%, 42%)
CIE-LABlab(35.08, 37.14, -40.57)
CIE-LCHlch(35.08, 55.01, 312.47°)
OKLaboklab(45.61% 0.0813 -0.1145)
OKLCHoklch(45.61% 0.14 305.4)
XYZxyz(12.9567, 8.5399, 28.9770)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A3D94 #67943D
analogous
#3E3D94 #6A3D94 #943D92
triadic
#6A3D94 #946A3D #3D946A
tetradic
#6A3D94 #943E3D #67943D #3D9294
square
#6A3D94 #943E3D #67943D #3D9294
split-complementary
#6A3D94 #92943D #3D943E
monochromatic
#2C193D #4B2B69 #6A3D94 #8955B9 #A781CB

Accessibility & contrast

On white

7.75
#6A3D94 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6A3D94 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A3D94
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A3D94#FFFFFF#000000##FFFFFF
##6A3D941.007.752.717.75
#FFFFFF7.751.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A5197
Deuteranopia (green-blind)
#2C5392
Tritanopia (blue-blind)
#634E62
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6a3d94;
/* rgb */ color: rgb(106, 61, 148);
/* oklch */ color: oklch(45.6% 0.140 305.4);
Tailwind
colors: {
  custom: {
    50: '#9774b4',
    500: '#6a3d94',
    950: '#000000',
  },
}
SCSS
$custom: #6a3d94;
$custom-light: #9774b4;
$custom-dark: #000000;
JSON
{
  "hex": "#6a3d94",
  "rgb": {
    "r": 106,
    "g": 61,
    "b": 148
  },
  "hsl": {
    "h": 271.034,
    "s": 41.627,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45614,
    "c": 0.1404,
    "h": 305.4
  },
  "luminance": 0.0854
}

Semantic roles & 50–950 ramp

primary
#6A3D94
secondary
#95B578
accent
#D15692
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0811
muted
#7E7B80

Preview Lab

Preview with #6A3D94

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

Preview Lab → · Contrast checker → · Palette generator →

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