#6B2EB7#6B2EB7

#6B2EB7 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.201 H 298.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6B2EB7
RGBrgb(107, 46, 183)
HSLhsl(267, 60%, 45%)
HSVhsv(267, 75%, 72%)
CMYKcmyk(41.5%, 74.9%, 0%, 28.2%)
CIE-LABlab(35.00, 53.84, -61.71)
CIE-LCHlch(35.00, 81.90, 311.10°)
OKLaboklab(46.39% 0.0953 -0.1765)
OKLCHoklch(46.39% 0.201 298.4)
XYZxyz(15.5854, 8.4984, 45.6098)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2EB7 #7AB72E
analogous
#2E36B7 #6B2EB7 #AF2EB7
triadic
#6B2EB7 #B76B2E #2EB76B
tetradic
#6B2EB7 #B72E36 #7AB72E #2EB7AF
square
#6B2EB7 #B72E36 #7AB72E #2EB7AF
split-complementary
#6B2EB7 #B7AF2E #36B72E
monochromatic
#321555 #4E2286 #6B2EB7 #8A4FD3 #AB80DF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6B2EB7#FFFFFF#000000##FFFFFF
##6B2EB71.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)
#0052BB
Deuteranopia (green-blind)
#0051B4
Tritanopia (blue-blind)
#585270
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2eb7;
/* rgb */ color: rgb(107, 46, 183);
/* oklch */ color: oklch(46.4% 0.201 298.4);
Tailwind
colors: {
  custom: {
    50: '#9c6dce',
    500: '#6b2eb7',
    950: '#000000',
  },
}
SCSS
$custom: #6b2eb7;
$custom-light: #9c6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2eb7",
  "rgb": {
    "r": 107,
    "g": 46,
    "b": 183
  },
  "hsl": {
    "h": 266.715,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46389,
    "c": 0.20055,
    "h": 298.4
  },
  "luminance": 0.08499
}

Semantic roles & 50–950 ramp

primary
#6B2EB7
secondary
#A5C879
accent
#E3459D
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2EB7

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

Preview Lab → · Contrast checker → · Palette generator →

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