#6D2FB3#6D2FB3

#6D2FB3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.195 H 300.2°. Best body text is #FFFFFF at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#6D2FB3
RGBrgb(109, 47, 179)
HSLhsl(268, 58%, 44%)
HSVhsv(268, 74%, 70%)
CMYKcmyk(39.1%, 73.7%, 0%, 29.8%)
CIE-LABlab(35.08, 52.75, -59.20)
CIE-LCHlch(35.08, 79.29, 311.70°)
OKLaboklab(46.4% 0.0982 -0.169)
OKLCHoklch(46.4% 0.195 300.2)
XYZxyz(15.4579, 8.5388, 43.4728)
Luminance0.0854 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FB3 #75B32F
analogous
#2F33B3 #6D2FB3 #AF2FB3
triadic
#6D2FB3 #B36D2F #2FB36D
tetradic
#6D2FB3 #B32F33 #75B32F #2FB3AF
square
#6D2FB3 #B32F33 #75B32F #2FB3AF
split-complementary
#6D2FB3 #B3AF2F #33B32F
monochromatic
#321652 #4F2283 #6D2FB3 #8C4FD1 #AB7FDD

Accessibility & contrast

On white

7.76
#6D2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6D2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FB3
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FB3#FFFFFF#000000##FFFFFF
##6D2FB31.007.762.717.76
#FFFFFF7.761.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0051B0
Tritanopia (blue-blind)
#5D506E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6d2fb3;
/* rgb */ color: rgb(109, 47, 179);
/* oklch */ color: oklch(46.4% 0.195 300.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dcb',
    500: '#6d2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fb3;
$custom-light: #9d6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fb3",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 268.182,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46399,
    "c": 0.19547,
    "h": 300.2
  },
  "luminance": 0.08539
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6D2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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