#6B2FB7#6B2FB7

#6B2FB7 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.5% C 0.199 H 298.2°. Best body text is #FFFFFF at 7.73:1 contrast (WCAG AA passes).

Color values

HEX#6B2FB7
RGBrgb(107, 47, 183)
HSLhsl(266, 59%, 45%)
HSVhsv(266, 74%, 72%)
CMYKcmyk(41.5%, 74.3%, 0%, 28.2%)
CIE-LABlab(35.16, 53.40, -61.46)
CIE-LCHlch(35.16, 81.41, 310.99°)
OKLaboklab(46.5% 0.0944 -0.1757)
OKLCHoklch(46.5% 0.199 298.2)
XYZxyz(15.6250, 8.5775, 45.6230)
Luminance0.0858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FB7 #7BB72F
analogous
#2F37B7 #6B2FB7 #AF2FB7
triadic
#6B2FB7 #B76B2F #2FB76B
tetradic
#6B2FB7 #B72F37 #7BB72F #2FB7AF
square
#6B2FB7 #B72F37 #7BB72F #2FB7AF
split-complementary
#6B2FB7 #B7AF2F #37B72F
monochromatic
#321656 #4F2286 #6B2FB7 #8A51D2 #AB82DF

Accessibility & contrast

On white

7.73
#6B2FB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.72
#6B2FB7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2FB7
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FB7#FFFFFF#000000##FFFFFF
##6B2FB71.007.732.727.73
#FFFFFF7.731.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#585271
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b2fb7;
/* rgb */ color: rgb(107, 47, 183);
/* oklch */ color: oklch(46.5% 0.199 298.2);
Tailwind
colors: {
  custom: {
    50: '#9c6dce',
    500: '#6b2fb7',
    950: '#000000',
  },
}
SCSS
$custom: #6b2fb7;
$custom-light: #9c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2fb7",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 183
  },
  "hsl": {
    "h": 266.471,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.465,
    "c": 0.19947,
    "h": 298.2
  },
  "luminance": 0.08578
}

Semantic roles & 50–950 ramp

primary
#6B2FB7
secondary
#A5C87A
accent
#E2459D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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