#6B2FB8#6B2FB8

#6B2FB8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.201 H 298.0°. Best body text is #FFFFFF at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#6B2FB8
RGBrgb(107, 47, 184)
HSLhsl(266, 59%, 45%)
HSVhsv(266, 74%, 72%)
CMYKcmyk(41.8%, 74.5%, 0%, 27.8%)
CIE-LABlab(35.24, 53.65, -61.91)
CIE-LCHlch(35.24, 81.92, 310.91°)
OKLaboklab(46.58% 0.0942 -0.1771)
OKLCHoklch(46.58% 0.201 298)
XYZxyz(15.7294, 8.6193, 46.1731)
Luminance0.0862 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2FB8 #7CB82F
analogous
#2F38B8 #6B2FB8 #AF2FB8
triadic
#6B2FB8 #B86B2F #2FB86B
tetradic
#6B2FB8 #B82F38 #7CB82F #2FB8AF
square
#6B2FB8 #B82F38 #7CB82F #2FB8AF
split-complementary
#6B2FB8 #B8AF2F #38B82F
monochromatic
#321657 #4F2387 #6B2FB8 #8A52D3 #AB82DF

Accessibility & contrast

On white

7.71
#6B2FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6B2FB8
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2FB8#FFFFFF#000000##FFFFFF
##6B2FB81.007.712.727.71
#FFFFFF7.711.0021.001.00
#0000002.7221.001.0021.00
##FFFFFF7.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#585371
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6b2fb8;
/* rgb */ color: rgb(107, 47, 184);
/* oklch */ color: oklch(46.6% 0.201 298.0);
Tailwind
colors: {
  custom: {
    50: '#9c6ece',
    500: '#6b2fb8',
    950: '#000000',
  },
}
SCSS
$custom: #6b2fb8;
$custom-light: #9c6ece;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2fb8",
  "rgb": {
    "r": 107,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 266.277,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.46584,
    "c": 0.20054,
    "h": 298
  },
  "luminance": 0.0862
}

Semantic roles & 50–950 ramp

primary
#6B2FB8
secondary
#A6C87B
accent
#E2459E
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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