#6A2C97#6A2C97

#6A2C97 is a dark, vivid violet. Relative luminance 0.071; OKLCH L 43.5% C 0.169 H 307.2°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#6A2C97
RGBrgb(106, 44, 151)
HSLhsl(275, 55%, 38%)
HSVhsv(275, 71%, 59%)
CMYKcmyk(29.8%, 70.9%, 0%, 40.8%)
CIE-LABlab(32.03, 46.75, -47.31)
CIE-LCHlch(32.03, 66.51, 314.66°)
OKLaboklab(43.47% 0.102 -0.1342)
OKLCHoklch(43.47% 0.169 307.2)
XYZxyz(12.4293, 7.1001, 29.9878)
Luminance0.0710 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2C97 #59972C
analogous
#342C97 #6A2C97 #972C8E
triadic
#6A2C97 #976A2C #2C976A
tetradic
#6A2C97 #97342C #59972C #2C8E97
square
#6A2C97 #97342C #59972C #2C8E97
split-complementary
#6A2C97 #8E972C #2C9734
monochromatic
#271038 #491E68 #6A2C97 #8B3AC6 #A76AD4

Accessibility & contrast

On white

8.68
#6A2C97 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#6A2C97 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2C97
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2C97#FFFFFF#000000##FFFFFF
##6A2C971.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00499A
Deuteranopia (green-blind)
#0D4C95
Tritanopia (blue-blind)
#63445E
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #6a2c97;
/* rgb */ color: rgb(106, 44, 151);
/* oklch */ color: oklch(43.5% 0.169 307.2);
Tailwind
colors: {
  custom: {
    50: '#996ab6',
    500: '#6a2c97',
    950: '#000000',
  },
}
SCSS
$custom: #6a2c97;
$custom-light: #996ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2c97",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 151
  },
  "hsl": {
    "h": 274.766,
    "s": 54.872,
    "l": 38.235
  },
  "oklch": {
    "l": 0.43474,
    "c": 0.16853,
    "h": 307.2
  },
  "luminance": 0.071
}

Semantic roles & 50–950 ramp

primary
#6A2C97
secondary
#89BA65
accent
#DE4A88
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0711
muted
#7E7A80

Preview Lab

Preview with #6A2C97

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

Preview Lab → · Contrast checker → · Palette generator →

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