#6D2FB6#6D2FB6

#6D2FB6 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.199 H 299.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#6D2FB6
RGBrgb(109, 47, 182)
HSLhsl(268, 59%, 45%)
HSVhsv(268, 74%, 71%)
CMYKcmyk(40.1%, 74.2%, 0%, 28.6%)
CIE-LABlab(35.32, 53.49, -60.58)
CIE-LCHlch(35.32, 80.82, 311.44°)
OKLaboklab(46.65% 0.0975 -0.1731)
OKLCHoklch(46.65% 0.199 299.4)
XYZxyz(15.7646, 8.6614, 45.0882)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FB6 #78B62F
analogous
#2F34B6 #6D2FB6 #B12FB6
triadic
#6D2FB6 #B66D2F #2FB66D
tetradic
#6D2FB6 #B62F34 #78B62F #2FB6B1
square
#6D2FB6 #B62F34 #78B62F #2FB6B1
split-complementary
#6D2FB6 #B6B12F #34B62F
monochromatic
#331655 #502285 #6D2FB6 #8C50D2 #AC81DE

Accessibility & contrast

On white

7.69
#6D2FB6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6D2FB6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FB6
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FB6#FFFFFF#000000##FFFFFF
##6D2FB61.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BA
Deuteranopia (green-blind)
#0052B3
Tritanopia (blue-blind)
#5C5270
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2fb6;
/* rgb */ color: rgb(109, 47, 182);
/* oklch */ color: oklch(46.6% 0.199 299.4);
Tailwind
colors: {
  custom: {
    50: '#9d6ecd',
    500: '#6d2fb6',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fb6;
$custom-light: #9d6ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fb6",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 182
  },
  "hsl": {
    "h": 267.556,
    "s": 58.952,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46647,
    "c": 0.19868,
    "h": 299.4
  },
  "luminance": 0.08662
}

Semantic roles & 50–950 ramp

primary
#6D2FB6
secondary
#A4C779
accent
#E2469A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2FB6

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

Preview Lab → · Contrast checker → · Palette generator →

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