#6D2FA5#6D2FA5

#6D2FA5 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.3% C 0.180 H 304.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#6D2FA5
RGBrgb(109, 47, 165)
HSLhsl(272, 56%, 42%)
HSVhsv(272, 72%, 65%)
CMYKcmyk(33.9%, 71.5%, 0%, 35.3%)
CIE-LABlab(33.98, 49.32, -52.61)
CIE-LCHlch(33.98, 72.11, 313.15°)
OKLaboklab(45.28% 0.1009 -0.1497)
OKLCHoklch(45.28% 0.18 304)
XYZxyz(14.1132, 8.0009, 36.3908)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FA5 #67A52F
analogous
#322FA5 #6D2FA5 #A52FA2
triadic
#6D2FA5 #A56D2F #2FA56D
tetradic
#6D2FA5 #A5322F #67A52F #2FA2A5
square
#6D2FA5 #A5322F #67A52F #2FA2A5
split-complementary
#6D2FA5 #A2A52F #2FA532
monochromatic
#2E1446 #4E2175 #6D2FA5 #8C47CB #AA76D8

Accessibility & contrast

On white

8.08
#6D2FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6D2FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FA5
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FA5#FFFFFF#000000##FFFFFF
##6D2FA51.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#624B67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6d2fa5;
/* rgb */ color: rgb(109, 47, 165);
/* oklch */ color: oklch(45.3% 0.180 304.0);
Tailwind
colors: {
  custom: {
    50: '#9c6dc0',
    500: '#6d2fa5',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fa5;
$custom-light: #9c6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fa5",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 271.525,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4528,
    "c": 0.18049,
    "h": 304
  },
  "luminance": 0.08001
}

Semantic roles & 50–950 ramp

primary
#6D2FA5
secondary
#96C070
accent
#DF4990
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6D2FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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