#6A2FAD#6A2FAD

#6A2FAD is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.189 H 300.3°. Best body text is #FFFFFF at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#6A2FAD
RGBrgb(106, 47, 173)
HSLhsl(268, 57%, 43%)
HSVhsv(268, 73%, 68%)
CMYKcmyk(38.7%, 72.8%, 0%, 32.2%)
CIE-LABlab(34.22, 50.71, -57.05)
CIE-LCHlch(34.22, 76.33, 311.63°)
OKLaboklab(45.56% 0.0951 -0.1628)
OKLCHoklch(45.56% 0.189 300.3)
XYZxyz(14.5013, 8.1142, 40.3293)
Luminance0.0811 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2FAD #72AD2F
analogous
#2F33AD #6A2FAD #A92FAD
triadic
#6A2FAD #AD6A2F #2FAD6A
tetradic
#6A2FAD #AD2F33 #72AD2F #2FADA9
square
#6A2FAD #AD2F33 #72AD2F #2FADA9
split-complementary
#6A2FAD #ADA92F #33AD2F
monochromatic
#2F154D #4D227D #6A2FAD #884BCE #A87BDB

Accessibility & contrast

On white

8.01
#6A2FAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6A2FAD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2FAD
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2FAD#FFFFFF#000000##FFFFFF
##6A2FAD1.008.012.628.01
#FFFFFF8.011.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#5B4E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2fad;
/* rgb */ color: rgb(106, 47, 173);
/* oklch */ color: oklch(45.6% 0.189 300.3);
Tailwind
colors: {
  custom: {
    50: '#9a6dc6',
    500: '#6a2fad',
    950: '#000000',
  },
}
SCSS
$custom: #6a2fad;
$custom-light: #9a6dc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2fad",
  "rgb": {
    "r": 106,
    "g": 47,
    "b": 173
  },
  "hsl": {
    "h": 268.095,
    "s": 57.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45557,
    "c": 0.18855,
    "h": 300.3
  },
  "luminance": 0.08114
}

Semantic roles & 50–950 ramp

primary
#6A2FAD
secondary
#9EC474
accent
#E14799
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0F0713
muted
#7E7A82

Preview Lab

Preview with #6A2FAD

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

Preview Lab → · Contrast checker → · Palette generator →

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