#6A2BB8#6A2BB8

#6A2BB8 is a mid, highly saturated violet. Relative luminance 0.083; OKLCH L 46.0% C 0.205 H 298.0°. Best body text is #FFFFFF at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#6A2BB8
RGBrgb(106, 43, 184)
HSLhsl(267, 62%, 45%)
HSVhsv(267, 77%, 72%)
CMYKcmyk(42.4%, 76.6%, 0%, 27.8%)
CIE-LABlab(34.50, 55.23, -63.12)
CIE-LCHlch(34.50, 83.88, 311.19°)
OKLaboklab(46.04% 0.0962 -0.1806)
OKLCHoklch(46.04% 0.205 298)
XYZxyz(15.4572, 8.2524, 46.1166)
Luminance0.0825 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BB8 #79B82B
analogous
#2B32B8 #6A2BB8 #B12BB8
triadic
#6A2BB8 #B86A2B #2BB86A
tetradic
#6A2BB8 #B82B32 #79B82B #2BB8B1
square
#6A2BB8 #B82B32 #79B82B #2BB8B1
split-complementary
#6A2BB8 #B8B12B #32B82B
monochromatic
#311455 #4D1F86 #6A2BB8 #894BD5 #A97DE1

Accessibility & contrast

On white

7.92
#6A2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.65
#6A2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BB8
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BB8#FFFFFF#000000##FFFFFF
##6A2BB81.007.922.657.92
#FFFFFF7.921.0021.001.00
#0000002.6521.001.0021.00
##FFFFFF7.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#565170
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6a2bb8;
/* rgb */ color: rgb(106, 43, 184);
/* oklch */ color: oklch(46.0% 0.205 298.0);
Tailwind
colors: {
  custom: {
    50: '#9c6bce',
    500: '#6a2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bb8;
$custom-light: #9c6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bb8",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 266.809,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46038,
    "c": 0.20462,
    "h": 298
  },
  "luminance": 0.08253
}

Semantic roles & 50–950 ramp

primary
#6A2BB8
secondary
#A4C976
accent
#E5439D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6A2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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