#6A2BB4#6A2BB4

#6A2BB4 is a mid, highly saturated violet. Relative luminance 0.081; OKLCH L 45.7% C 0.200 H 299.0°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6A2BB4
RGBrgb(106, 43, 180)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 71%)
CMYKcmyk(41.1%, 76.1%, 0%, 29.4%)
CIE-LABlab(34.16, 54.24, -61.31)
CIE-LCHlch(34.16, 81.86, 311.50°)
OKLaboklab(45.7% 0.0972 -0.1753)
OKLCHoklch(45.7% 0.2 299)
XYZxyz(15.0439, 8.0870, 43.9395)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BB4 #75B42B
analogous
#2B30B4 #6A2BB4 #AE2BB4
triadic
#6A2BB4 #B46A2B #2BB46A
tetradic
#6A2BB4 #B42B30 #75B42B #2BB4AE
square
#6A2BB4 #B42B30 #75B42B #2BB4AE
split-complementary
#6A2BB4 #B4AE2B #30B42B
monochromatic
#301351 #4D1F83 #6A2BB4 #8949D3 #A97ADF

Accessibility & contrast

On white

8.02
#6A2BB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6A2BB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BB4
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BB4#FFFFFF#000000##FFFFFF
##6A2BB41.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B8
Deuteranopia (green-blind)
#004FB1
Tritanopia (blue-blind)
#584F6E
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2bb4;
/* rgb */ color: rgb(106, 43, 180);
/* oklch */ color: oklch(45.7% 0.200 299.0);
Tailwind
colors: {
  custom: {
    50: '#9b6bcb',
    500: '#6a2bb4',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bb4;
$custom-light: #9b6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bb4",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 180
  },
  "hsl": {
    "h": 267.591,
    "s": 61.435,
    "l": 43.725
  },
  "oklch": {
    "l": 0.45696,
    "c": 0.20043,
    "h": 299
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#6A2BB4
secondary
#A1C773
accent
#E5439A
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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