#6A2EB0#6A2EB0

#6A2EB0 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.7% C 0.193 H 299.6°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6A2EB0
RGBrgb(106, 46, 176)
HSLhsl(268, 59%, 44%)
HSVhsv(268, 74%, 69%)
CMYKcmyk(39.8%, 73.9%, 0%, 31%)
CIE-LABlab(34.30, 51.92, -58.71)
CIE-LCHlch(34.30, 78.37, 311.49°)
OKLaboklab(45.69% 0.0954 -0.1677)
OKLCHoklch(45.69% 0.193 299.6)
XYZxyz(14.7554, 8.1526, 41.8621)
Luminance0.0815 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2EB0 #74B02E
analogous
#2E33B0 #6A2EB0 #AB2EB0
triadic
#6A2EB0 #B06A2E #2EB06A
tetradic
#6A2EB0 #B02E33 #74B02E #2EB0AB
square
#6A2EB0 #B02E33 #74B02E #2EB0AB
split-complementary
#6A2EB0 #B0AB2E #33B02E
monochromatic
#30154F #4D217F #6A2EB0 #884BD0 #A87CDD

Accessibility & contrast

On white

7.98
#6A2EB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6A2EB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2EB0
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2EB0#FFFFFF#000000##FFFFFF
##6A2EB01.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B4
Deuteranopia (green-blind)
#0050AD
Tritanopia (blue-blind)
#5A4F6D
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2eb0;
/* rgb */ color: rgb(106, 46, 176);
/* oklch */ color: oklch(45.7% 0.193 299.6);
Tailwind
colors: {
  custom: {
    50: '#9b6dc9',
    500: '#6a2eb0',
    950: '#000000',
  },
}
SCSS
$custom: #6a2eb0;
$custom-light: #9b6dc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2eb0",
  "rgb": {
    "r": 106,
    "g": 46,
    "b": 176
  },
  "hsl": {
    "h": 267.692,
    "s": 58.559,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45688,
    "c": 0.19293,
    "h": 299.6
  },
  "luminance": 0.08153
}

Semantic roles & 50–950 ramp

primary
#6A2EB0
secondary
#A0C575
accent
#E2469A
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2EB0

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

Preview Lab → · Contrast checker → · Palette generator →

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