#6D2FB4#6D2FB4

#6D2FB4 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.197 H 299.9°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6D2FB4
RGBrgb(109, 47, 180)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(39.4%, 73.9%, 0%, 29.4%)
CIE-LABlab(35.16, 53.00, -59.66)
CIE-LCHlch(35.16, 79.80, 311.61°)
OKLaboklab(46.48% 0.098 -0.1704)
OKLCHoklch(46.48% 0.197 299.9)
XYZxyz(15.5594, 8.5794, 44.0074)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FB4 #76B42F
analogous
#2F34B4 #6D2FB4 #B02FB4
triadic
#6D2FB4 #B46D2F #2FB46D
tetradic
#6D2FB4 #B42F34 #76B42F #2FB4B0
square
#6D2FB4 #B42F34 #76B42F #2FB4B0
split-complementary
#6D2FB4 #B4B02F #34B42F
monochromatic
#321653 #502283 #6D2FB4 #8C4FD1 #AC80DE

Accessibility & contrast

On white

7.73
#6D2FB4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6D2FB4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FB4
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FB4#FFFFFF#000000##FFFFFF
##6D2FB41.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B8
Deuteranopia (green-blind)
#0052B1
Tritanopia (blue-blind)
#5C516F
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2fb4;
/* rgb */ color: rgb(109, 47, 180);
/* oklch */ color: oklch(46.5% 0.197 299.9);
Tailwind
colors: {
  custom: {
    50: '#9d6ecb',
    500: '#6d2fb4',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fb4;
$custom-light: #9d6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fb4",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 180
  },
  "hsl": {
    "h": 267.97,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46481,
    "c": 0.19654,
    "h": 299.9
  },
  "luminance": 0.0858
}

Semantic roles & 50–950 ramp

primary
#6D2FB4
secondary
#A2C778
accent
#E24699
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2FB4

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

Preview Lab → · Contrast checker → · Palette generator →

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