#6A2BB0#6A2BB0

#6A2BB0 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.196 H 300.0°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6A2BB0
RGBrgb(106, 43, 176)
HSLhsl(268, 61%, 43%)
HSVhsv(268, 76%, 69%)
CMYKcmyk(39.8%, 75.6%, 0%, 31%)
CIE-LABlab(33.83, 53.26, -59.47)
CIE-LCHlch(33.83, 79.83, 311.84°)
OKLaboklab(45.36% 0.0982 -0.1699)
OKLCHoklch(45.36% 0.196 300)
XYZxyz(14.6422, 7.9264, 41.8244)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BB0 #71B02B
analogous
#2B2EB0 #6A2BB0 #AC2BB0
triadic
#6A2BB0 #B06A2B #2BB06A
tetradic
#6A2BB0 #B02B2E #71B02B #2BB0AC
square
#6A2BB0 #B02B2E #71B02B #2BB0AC
split-complementary
#6A2BB0 #B0AC2B #2EB02B
monochromatic
#2F134E #4C1F7F #6A2BB0 #8846D2 #A878DE

Accessibility & contrast

On white

8.12
#6A2BB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6A2BB0
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BB0#FFFFFF#000000##FFFFFF
##6A2BB01.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB4
Deuteranopia (green-blind)
#004FAD
Tritanopia (blue-blind)
#5A4E6C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2bb0;
/* rgb */ color: rgb(106, 43, 176);
/* oklch */ color: oklch(45.4% 0.196 300.0);
Tailwind
colors: {
  custom: {
    50: '#9b6bc9',
    500: '#6a2bb0',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bb0;
$custom-light: #9b6bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bb0",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 176
  },
  "hsl": {
    "h": 268.421,
    "s": 60.731,
    "l": 42.941
  },
  "oklch": {
    "l": 0.45357,
    "c": 0.19623,
    "h": 300
  },
  "luminance": 0.07927
}

Semantic roles & 50–950 ramp

primary
#6A2BB0
secondary
#9EC671
accent
#E44498
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BB0

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

Preview Lab → · Contrast checker → · Palette generator →

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