#6D2FCA#6D2FCA

#6D2FCA is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.220 H 294.9°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#6D2FCA
RGBrgb(109, 47, 202)
HSLhsl(264, 62%, 49%)
HSVhsv(264, 77%, 79%)
CMYKcmyk(46%, 76.7%, 0%, 20.8%)
CIE-LABlab(37.02, 58.50, -69.55)
CIE-LCHlch(37.02, 90.88, 310.07°)
OKLaboklab(48.36% 0.0925 -0.1994)
OKLCHoklch(48.36% 0.22 294.9)
XYZxyz(17.9810, 9.5480, 56.7612)
Luminance0.0955 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FCA #8CCA2F
analogous
#2F3FCA #6D2FCA #BB2FCA
triadic
#6D2FCA #CA6D2F #2FCA6D
tetradic
#6D2FCA #CA2F3F #8CCA2F #2FCABB
square
#6D2FCA #CA2F3F #8CCA2F #2FCABB
split-complementary
#6D2FCA #CABB2F #3FCA2F
monochromatic
#371867 #522398 #6D2FCA #8F5DD9 #B18FE5

Accessibility & contrast

On white

7.22
#6D2FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#6D2FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FCA
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FCA#FFFFFF#000000##FFFFFF
##6D2FCA1.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#525A7C
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #6d2fca;
/* rgb */ color: rgb(109, 47, 202);
/* oklch */ color: oklch(48.4% 0.220 294.9);
Tailwind
colors: {
  custom: {
    50: '#a06fdb',
    500: '#6d2fca',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fca;
$custom-light: #a06fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fca",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 264,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48358,
    "c": 0.21981,
    "h": 294.9
  },
  "luminance": 0.09549
}

Semantic roles & 50–950 ramp

primary
#6D2FCA
secondary
#B2CF86
accent
#E542A4
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6D2FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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