#6A2BB3#6A2BB3

#6A2BB3 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.6% C 0.199 H 299.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6A2BB3
RGBrgb(106, 43, 179)
HSLhsl(268, 61%, 44%)
HSVhsv(268, 76%, 70%)
CMYKcmyk(40.8%, 76%, 0%, 29.8%)
CIE-LABlab(34.08, 54.00, -60.85)
CIE-LCHlch(34.08, 81.35, 311.58°)
OKLaboklab(45.61% 0.0974 -0.1739)
OKLCHoklch(45.61% 0.199 299.3)
XYZxyz(14.9424, 8.0464, 43.4050)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A2BB3 #74B32B
analogous
#2B30B3 #6A2BB3 #AE2BB3
triadic
#6A2BB3 #B36A2B #2BB36A
tetradic
#6A2BB3 #B32B30 #74B32B #2BB3AE
square
#6A2BB3 #B32B30 #74B32B #2BB3AE
split-complementary
#6A2BB3 #B3AE2B #30B32B
monochromatic
#301350 #4D1F82 #6A2BB3 #8848D3 #A879DF

Accessibility & contrast

On white

8.05
#6A2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6A2BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A2BB3
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A2BB3#FFFFFF#000000##FFFFFF
##6A2BB31.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B7
Deuteranopia (green-blind)
#004FB0
Tritanopia (blue-blind)
#584F6D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6a2bb3;
/* rgb */ color: rgb(106, 43, 179);
/* oklch */ color: oklch(45.6% 0.199 299.3);
Tailwind
colors: {
  custom: {
    50: '#9b6bcb',
    500: '#6a2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #6a2bb3;
$custom-light: #9b6bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6a2bb3",
  "rgb": {
    "r": 106,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 267.794,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.45611,
    "c": 0.19938,
    "h": 299.3
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#6A2BB3
secondary
#A0C773
accent
#E4439A
background
#FAF6FC
surface
#F3ECF9
border
#CDC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6A2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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