#6A2BB5#6A2BB5

#6A2BB5 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.8% C 0.201 H 298.8°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6A2BB5
RGBrgb(106, 43, 181)
HSLhsl(267, 62%, 44%)
HSVhsv(267, 76%, 71%)
CMYKcmyk(41.4%, 76.2%, 0%, 29%)
CIE-LABlab(34.25, 54.49, -61.76)
CIE-LCHlch(34.25, 82.36, 311.42°)
OKLaboklab(45.78% 0.0969 -0.1766)
OKLCHoklch(45.78% 0.201 298.8)
XYZxyz(15.1461, 8.1279, 44.4780)
Luminance0.0813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BB5 #76B52B
analogous
#2B31B5 #6A2BB5 #AF2BB5
triadic
#6A2BB5 #B56A2B #2BB56A
tetradic
#6A2BB5 #B52B31 #76B52B #2BB5AF
square
#6A2BB5 #B52B31 #76B52B #2BB5AF
split-complementary
#6A2BB5 #B5AF2B #31B52B
monochromatic
#301452 #4D1F84 #6A2BB5 #8949D4 #A97BE0

Accessibility & contrast

On white

8.00
#6A2BB5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2BB5
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BB5#FFFFFF#000000##FFFFFF
##6A2BB51.008.002.638.00
#FFFFFF8.001.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B9
Deuteranopia (green-blind)
#004FB2
Tritanopia (blue-blind)
#58506F
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2bb5;
/* rgb */ color: rgb(106, 43, 181);
/* oklch */ color: oklch(45.8% 0.201 298.8);
Tailwind
colors: {
  custom: {
    50: '#9c6bcc',
    500: '#6a2bb5',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bb5;
$custom-light: #9c6bcc;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bb5",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 181
  },
  "hsl": {
    "h": 267.391,
    "s": 61.607,
    "l": 43.922
  },
  "oklch": {
    "l": 0.45781,
    "c": 0.20148,
    "h": 298.8
  },
  "luminance": 0.08128
}

Semantic roles & 50–950 ramp

primary
#6A2BB5
secondary
#A2C874
accent
#E5439B
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BB5

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

Preview Lab → · Contrast checker → · Palette generator →

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