#6D2FB2#6D2FB2

#6D2FB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.3% C 0.194 H 300.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6D2FB2
RGBrgb(109, 47, 178)
HSLhsl(268, 58%, 44%)
HSVhsv(268, 74%, 70%)
CMYKcmyk(38.8%, 73.6%, 0%, 30.2%)
CIE-LABlab(35.00, 52.50, -58.74)
CIE-LCHlch(35.00, 78.78, 311.79°)
OKLaboklab(46.32% 0.0984 -0.1677)
OKLCHoklch(46.32% 0.194 300.4)
XYZxyz(15.3571, 8.4985, 42.9421)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D2FB2 #74B22F
analogous
#2F33B2 #6D2FB2 #AF2FB2
triadic
#6D2FB2 #B26D2F #2FB26D
tetradic
#6D2FB2 #B22F33 #74B22F #2FB2AF
square
#6D2FB2 #B22F33 #74B22F #2FB2AF
split-complementary
#6D2FB2 #B2AF2F #33B22F
monochromatic
#321551 #4F2282 #6D2FB2 #8C4ED0 #AB7EDD

Accessibility & contrast

On white

7.78
#6D2FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6D2FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6D2FB2
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D2FB2#FFFFFF#000000##FFFFFF
##6D2FB21.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6d2fb2;
/* rgb */ color: rgb(109, 47, 178);
/* oklch */ color: oklch(46.3% 0.194 300.4);
Tailwind
colors: {
  custom: {
    50: '#9d6dca',
    500: '#6d2fb2',
    950: '#000000',
  },
}
SCSS
$custom: #6d2fb2;
$custom-light: #9d6dca;
$custom-dark: #000000;
JSON
{
  "hex": "#6d2fb2",
  "rgb": {
    "r": 109,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 268.397,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46317,
    "c": 0.19441,
    "h": 300.4
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#6D2FB2
secondary
#A1C677
accent
#E14698
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6D2FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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