#6D2FBA#6D2FBA

#6D2FBA is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.203 H 298.4°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#6D2FBA
RGBrgb(109, 47, 186)
HSLhsl(267, 60%, 46%)
HSVhsv(267, 75%, 73%)
CMYKcmyk(41.4%, 74.7%, 0%, 27.1%)
CIE-LABlab(35.65, 54.49, -62.41)
CIE-LCHlch(35.65, 82.85, 311.12°)
OKLaboklab(46.98% 0.0966 -0.1784)
OKLCHoklch(46.98% 0.203 298.4)
XYZxyz(16.1838, 8.8292, 47.2964)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FBA #7CBA2F
analogous
#2F36BA #6D2FBA #B32FBA
triadic
#6D2FBA #BA6D2F #2FBA6D
tetradic
#6D2FBA #BA2F36 #7CBA2F #2FBAB3
square
#6D2FBA #BA2F36 #7CBA2F #2FBAB3
split-complementary
#6D2FBA #BAB32F #36BA2F
monochromatic
#341658 #502389 #6D2FBA #8C53D3 #AD84E0

Accessibility & contrast

On white

7.59
#6D2FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#6D2FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FBA
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FBA#FFFFFF#000000##FFFFFF
##6D2FBA1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0052B7
Tritanopia (blue-blind)
#5A5372
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6d2fba;
/* rgb */ color: rgb(109, 47, 186);
/* oklch */ color: oklch(47.0% 0.203 298.4);
Tailwind
colors: {
  custom: {
    50: '#9e6ed0',
    500: '#6d2fba',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fba;
$custom-light: #9e6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fba",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 266.763,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.46981,
    "c": 0.20292,
    "h": 298.4
  },
  "luminance": 0.08829
}

Semantic roles & 50–950 ramp

primary
#6D2FBA
secondary
#A7C97C
accent
#E3459C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6D2FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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