#6A4397#6A4397

#6A4397 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 46.8% C 0.134 H 303.0°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6A4397
RGBrgb(106, 67, 151)
HSLhsl(268, 39%, 43%)
HSVhsv(268, 56%, 59%)
CMYKcmyk(29.8%, 55.6%, 0%, 40.8%)
CIE-LABlab(36.58, 34.47, -40.00)
CIE-LCHlch(36.58, 52.80, 310.75°)
OKLaboklab(46.77% 0.0732 -0.1128)
OKLCHoklch(46.77% 0.134 303)
XYZxyz(13.5357, 9.3129, 30.3566)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A4397 #709743
analogous
#434697 #6A4397 #944397
triadic
#6A4397 #976A43 #43976A
tetradic
#6A4397 #974346 #709743 #439794
square
#6A4397 #974346 #709743 #439794
split-complementary
#6A4397 #979443 #469743
monochromatic
#2E1D42 #4C306D #6A4397 #885FB8 #A88ACB

Accessibility & contrast

On white

7.34
#6A4397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6A4397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A4397
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A4397#FFFFFF#000000##FFFFFF
##6A43971.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24559A
Deuteranopia (green-blind)
#315695
Tritanopia (blue-blind)
#625366
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6a4397;
/* rgb */ color: rgb(106, 67, 151);
/* oklch */ color: oklch(46.8% 0.134 303.0);
Tailwind
colors: {
  custom: {
    50: '#9778b6',
    500: '#6a4397',
    950: '#000000',
  },
}
SCSS
$custom: #6a4397;
$custom-light: #9778b6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a4397",
  "rgb": {
    "r": 106,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 267.857,
    "s": 38.532,
    "l": 42.745
  },
  "oklch": {
    "l": 0.46774,
    "c": 0.13449,
    "h": 303
  },
  "luminance": 0.09313
}

Semantic roles & 50–950 ramp

primary
#6A4397
secondary
#9DB680
accent
#CE5998
background
#F9F7FB
surface
#F2EDF6
border
#CCC8D0
text
#0E0911
muted
#7E7B80

Preview Lab

Preview with #6A4397

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

Preview Lab → · Contrast checker → · Palette generator →

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