#6D2BAF#6D2BAF

#6D2BAF is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.196 H 301.7°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#6D2BAF
RGBrgb(109, 43, 175)
HSLhsl(270, 61%, 43%)
HSVhsv(270, 75%, 69%)
CMYKcmyk(37.7%, 75.4%, 0%, 31.4%)
CIE-LABlab(34.14, 53.53, -58.36)
CIE-LCHlch(34.14, 79.19, 312.53°)
OKLaboklab(45.63% 0.1028 -0.1665)
OKLCHoklch(45.63% 0.196 301.7)
XYZxyz(14.9065, 8.0740, 41.3222)
Luminance0.0807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2BAF #6DAF2B
analogous
#2B2BAF #6D2BAF #AF2BAF
triadic
#6D2BAF #AF6D2B #2BAF6D
tetradic
#6D2BAF #AF2B2B #6DAF2B #2BAFAF
square
#6D2BAF #AF2B2B #6DAF2B #2BAFAF
split-complementary
#6D2BAF #AFAF2B #2BAF2B
monochromatic
#30134D #4E1F7E #6D2BAF #8C46D1 #AA77DE

Accessibility & contrast

On white

8.03
#6D2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6D2BAF
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2BAF#FFFFFF#000000##FFFFFF
##6D2BAF1.008.032.618.03
#FFFFFF8.031.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#5F4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2baf;
/* rgb */ color: rgb(109, 43, 175);
/* oklch */ color: oklch(45.6% 0.196 301.7);
Tailwind
colors: {
  custom: {
    50: '#9d6bc8',
    500: '#6d2baf',
    950: '#000000',
  },
}
SCSS
$custom: #6d2baf;
$custom-light: #9d6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2baf",
  "rgb": {
    "r": 109,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 270,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45633,
    "c": 0.19568,
    "h": 301.7
  },
  "luminance": 0.08074
}

Semantic roles & 50–950 ramp

primary
#6D2BAF
secondary
#9BC570
accent
#E44494
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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