#6D2BA8#6D2BA8

#6D2BA8 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.188 H 303.6°. Best body text is #FFFFFF at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#6D2BA8
RGBrgb(109, 43, 168)
HSLhsl(272, 59%, 41%)
HSVhsv(272, 74%, 66%)
CMYKcmyk(35.1%, 74.4%, 0%, 34.1%)
CIE-LABlab(33.58, 51.85, -55.08)
CIE-LCHlch(33.58, 75.65, 313.27°)
OKLaboklab(45.06% 0.1043 -0.1569)
OKLCHoklch(45.06% 0.188 303.6)
XYZxyz(14.2368, 7.8061, 37.7949)
Luminance0.0781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BA8 #66A82B
analogous
#2F2BA8 #6D2BA8 #A82BA5
triadic
#6D2BA8 #A86D2B #2BA86D
tetradic
#6D2BA8 #A82F2B #66A82B #2BA5A8
square
#6D2BA8 #A82F2B #66A82B #2BA5A8
split-complementary
#6D2BA8 #A5A82B #2BA82F
monochromatic
#2E1247 #4D1F77 #6D2BA8 #8C42CF #AA72DB

Accessibility & contrast

On white

8.20
#6D2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6D2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2BA8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BA8#FFFFFF#000000##FFFFFF
##6D2BA81.008.202.568.20
#FFFFFF8.201.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#004FA5
Tritanopia (blue-blind)
#614A67
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6d2ba8;
/* rgb */ color: rgb(109, 43, 168);
/* oklch */ color: oklch(45.1% 0.188 303.6);
Tailwind
colors: {
  custom: {
    50: '#9c6bc3',
    500: '#6d2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #6d2ba8;
$custom-light: #9c6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2ba8",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 271.68,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45063,
    "c": 0.1884,
    "h": 303.6
  },
  "luminance": 0.07806
}

Semantic roles & 50–950 ramp

primary
#6D2BA8
secondary
#95C26C
accent
#E24590
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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