#6A2BB1#6A2BB1

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

Color values

HEX#6A2BB1
RGBrgb(106, 43, 177)
HSLhsl(268, 61%, 43%)
HSVhsv(268, 76%, 69%)
CMYKcmyk(40.1%, 75.7%, 0%, 30.6%)
CIE-LABlab(33.91, 53.50, -59.93)
CIE-LCHlch(33.91, 80.34, 311.76°)
OKLaboklab(45.44% 0.0979 -0.1713)
OKLCHoklch(45.44% 0.197 299.8)
XYZxyz(14.7416, 7.9661, 42.3474)
Luminance0.0797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BB1 #72B12B
analogous
#2B2FB1 #6A2BB1 #AD2BB1
triadic
#6A2BB1 #B16A2B #2BB16A
tetradic
#6A2BB1 #B12B2F #72B12B #2BB1AD
square
#6A2BB1 #B12B2F #72B12B #2BB1AD
split-complementary
#6A2BB1 #B1AD2B #2FB12B
monochromatic
#2F134F #4D1F80 #6A2BB1 #8847D2 #A878DE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6A2BB1#FFFFFF#000000##FFFFFF
##6A2BB11.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)
#004FB5
Deuteranopia (green-blind)
#004FAE
Tritanopia (blue-blind)
#594E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2bb1;
/* rgb */ color: rgb(106, 43, 177);
/* oklch */ color: oklch(45.4% 0.197 299.8);
Tailwind
colors: {
  custom: {
    50: '#9b6bc9',
    500: '#6a2bb1',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bb1;
$custom-light: #9b6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bb1",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 177
  },
  "hsl": {
    "h": 268.209,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.45441,
    "c": 0.19728,
    "h": 299.8
  },
  "luminance": 0.07966
}

Semantic roles & 50–950 ramp

primary
#6A2BB1
secondary
#9EC672
accent
#E44499
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BB1

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

Preview Lab → · Contrast checker → · Palette generator →

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