#6A2BAE#6A2BAE

#6A2BAE is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.2% C 0.194 H 300.5°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#6A2BAE
RGBrgb(106, 43, 174)
HSLhsl(269, 60%, 43%)
HSVhsv(269, 75%, 68%)
CMYKcmyk(39.1%, 75.3%, 0%, 31.8%)
CIE-LABlab(33.66, 52.76, -58.55)
CIE-LCHlch(33.66, 78.82, 312.02°)
OKLaboklab(45.19% 0.0987 -0.1672)
OKLCHoklch(45.19% 0.194 300.5)
XYZxyz(14.4458, 7.8478, 40.7899)
Luminance0.0785 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BAE #6FAE2B
analogous
#2B2DAE #6A2BAE #AC2BAE
triadic
#6A2BAE #AE6A2B #2BAE6A
tetradic
#6A2BAE #AE2B2D #6FAE2B #2BAEAC
square
#6A2BAE #AE2B2D #6FAE2B #2BAEAC
split-complementary
#6A2BAE #AEAC2B #2DAE2B
monochromatic
#2E134C #4C1F7D #6A2BAE #8845D1 #A876DD

Accessibility & contrast

On white

8.17
#6A2BAE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6A2BAE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BAE
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BAE#FFFFFF#000000##FFFFFF
##6A2BAE1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB2
Deuteranopia (green-blind)
#004EAB
Tritanopia (blue-blind)
#5B4D6B
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6a2bae;
/* rgb */ color: rgb(106, 43, 174);
/* oklch */ color: oklch(45.2% 0.194 300.5);
Tailwind
colors: {
  custom: {
    50: '#9b6bc7',
    500: '#6a2bae',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bae;
$custom-light: #9b6bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bae",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 174
  },
  "hsl": {
    "h": 268.855,
    "s": 60.369,
    "l": 42.549
  },
  "oklch": {
    "l": 0.4519,
    "c": 0.19412,
    "h": 300.5
  },
  "luminance": 0.07848
}

Semantic roles & 50–950 ramp

primary
#6A2BAE
secondary
#9CC570
accent
#E44497
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BAE

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

Preview Lab → · Contrast checker → · Palette generator →

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