#6D2BAC#6D2BAC

#6D2BAC is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.193 H 302.5°. Best body text is #FFFFFF at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#6D2BAC
RGBrgb(109, 43, 172)
HSLhsl(271, 60%, 42%)
HSVhsv(271, 75%, 67%)
CMYKcmyk(36.6%, 75%, 0%, 32.5%)
CIE-LABlab(33.89, 52.81, -56.96)
CIE-LCHlch(33.89, 77.68, 312.83°)
OKLaboklab(45.39% 0.1035 -0.1624)
OKLCHoklch(45.39% 0.193 302.5)
XYZxyz(14.6152, 7.9575, 39.7877)
Luminance0.0796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BAC #6AAC2B
analogous
#2D2BAC #6D2BAC #AC2BAA
triadic
#6D2BAC #AC6D2B #2BAC6D
tetradic
#6D2BAC #AC2D2B #6AAC2B #2BAAAC
square
#6D2BAC #AC2D2B #6AAC2B #2BAAAC
split-complementary
#6D2BAC #AAAC2B #2BAC2D
monochromatic
#2F134A #4E1F7B #6D2BAC #8C44D0 #AA75DC

Accessibility & contrast

On white

8.10
#6D2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2BAC
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BAC#FFFFFF#000000##FFFFFF
##6D2BAC1.008.102.598.10
#FFFFFF8.101.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#004FA9
Tritanopia (blue-blind)
#604C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2bac;
/* rgb */ color: rgb(109, 43, 172);
/* oklch */ color: oklch(45.4% 0.193 302.5);
Tailwind
colors: {
  custom: {
    50: '#9d6bc6',
    500: '#6d2bac',
    950: '#000000',
  },
}
SCSS
$custom: #6d2bac;
$custom-light: #9d6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2bac",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 270.698,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45387,
    "c": 0.19257,
    "h": 302.5
  },
  "luminance": 0.07958
}

Semantic roles & 50–950 ramp

primary
#6D2BAC
secondary
#98C46F
accent
#E34592
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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