#6A2CAF#6A2CAF

#6A2CAF is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.194 H 300.2°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6A2CAF
RGBrgb(106, 44, 175)
HSLhsl(268, 60%, 43%)
HSVhsv(268, 75%, 69%)
CMYKcmyk(39.4%, 74.9%, 0%, 31.4%)
CIE-LABlab(33.90, 52.57, -58.76)
CIE-LCHlch(33.90, 78.84, 311.82°)
OKLaboklab(45.38% 0.0975 -0.1678)
OKLCHoklch(45.38% 0.194 300.2)
XYZxyz(14.5805, 7.9605, 41.3175)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2CAF #71AF2C
analogous
#2C30AF #6A2CAF #AB2CAF
triadic
#6A2CAF #AF6A2C #2CAF6A
tetradic
#6A2CAF #AF2C30 #71AF2C #2CAFAB
square
#6A2CAF #AF2C30 #71AF2C #2CAFAB
split-complementary
#6A2CAF #AFAB2C #30AF2C
monochromatic
#2F134D #4C207E #6A2CAF #8847D1 #A878DD

Accessibility & contrast

On white

8.10
#6A2CAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6A2CAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2CAF
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2CAF#FFFFFF#000000##FFFFFF
##6A2CAF1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5A4E6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2caf;
/* rgb */ color: rgb(106, 44, 175);
/* oklch */ color: oklch(45.4% 0.194 300.2);
Tailwind
colors: {
  custom: {
    50: '#9b6bc8',
    500: '#6a2caf',
    950: '#000000',
  },
}
SCSS
$custom: #6a2caf;
$custom-light: #9b6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2caf",
  "rgb": {
    "r": 106,
    "g": 44,
    "b": 175
  },
  "hsl": {
    "h": 268.397,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45382,
    "c": 0.19409,
    "h": 300.2
  },
  "luminance": 0.07961
}

Semantic roles & 50–950 ramp

primary
#6A2CAF
secondary
#9EC572
accent
#E34598
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2CAF

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

Preview Lab → · Contrast checker → · Palette generator →

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