#6D2FB8#6D2FB8

#6D2FB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.201 H 298.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#6D2FB8
RGBrgb(109, 47, 184)
HSLhsl(267, 59%, 45%)
HSVhsv(267, 74%, 72%)
CMYKcmyk(40.8%, 74.5%, 0%, 27.8%)
CIE-LABlab(35.49, 53.99, -61.50)
CIE-LCHlch(35.49, 81.83, 311.28°)
OKLaboklab(46.81% 0.0971 -0.1758)
OKLCHoklch(46.81% 0.201 298.9)
XYZxyz(15.9727, 8.7447, 46.1845)
Luminance0.0874 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FB8 #7AB82F
analogous
#2F36B8 #6D2FB8 #B12FB8
triadic
#6D2FB8 #B86D2F #2FB86D
tetradic
#6D2FB8 #B82F36 #7AB82F #2FB8B1
square
#6D2FB8 #B82F36 #7AB82F #2FB8B1
split-complementary
#6D2FB8 #B8B12F #36B82F
monochromatic
#331657 #502387 #6D2FB8 #8C52D3 #AC82DF

Accessibility & contrast

On white

7.64
#6D2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6D2FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FB8
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FB8#FFFFFF#000000##FFFFFF
##6D2FB81.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#5B5271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6d2fb8;
/* rgb */ color: rgb(109, 47, 184);
/* oklch */ color: oklch(46.8% 0.201 298.9);
Tailwind
colors: {
  custom: {
    50: '#9e6ece',
    500: '#6d2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fb8;
$custom-light: #9e6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fb8",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 267.153,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46813,
    "c": 0.2008,
    "h": 298.9
  },
  "luminance": 0.08745
}

Semantic roles & 50–950 ramp

primary
#6D2FB8
secondary
#A5C87B
accent
#E2459B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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