#6B2CB8#6B2CB8

#6B2CB8 is a mid, highly saturated violet. Relative luminance 0.084; OKLCH L 46.3% C 0.204 H 298.4°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6B2CB8
RGBrgb(107, 44, 184)
HSLhsl(267, 61%, 45%)
HSVhsv(267, 76%, 72%)
CMYKcmyk(41.8%, 76.1%, 0%, 27.8%)
CIE-LABlab(34.78, 54.97, -62.67)
CIE-LCHlch(34.78, 83.36, 311.25°)
OKLaboklab(46.26% 0.0968 -0.1793)
OKLCHoklch(46.26% 0.204 298.4)
XYZxyz(15.6136, 8.3876, 46.1345)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2CB8 #79B82C
analogous
#2C33B8 #6B2CB8 #B12CB8
triadic
#6B2CB8 #B86B2C #2CB86B
tetradic
#6B2CB8 #B82C33 #79B82C #2CB8B1
square
#6B2CB8 #B82C33 #79B82C #2CB8B1
split-complementary
#6B2CB8 #B8B12C #33B82C
monochromatic
#321455 #4E2087 #6B2CB8 #8A4DD4 #AA7EE0

Accessibility & contrast

On white

7.84
#6B2CB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6B2CB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2CB8
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2CB8#FFFFFF#000000##FFFFFF
##6B2CB81.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0050B5
Tritanopia (blue-blind)
#585171
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6b2cb8;
/* rgb */ color: rgb(107, 44, 184);
/* oklch */ color: oklch(46.3% 0.204 298.4);
Tailwind
colors: {
  custom: {
    50: '#9c6cce',
    500: '#6b2cb8',
    950: '#000000',
  },
}
SCSS
$custom: #6b2cb8;
$custom-light: #9c6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2cb8",
  "rgb": {
    "r": 107,
    "g": 44,
    "b": 184
  },
  "hsl": {
    "h": 267,
    "s": 61.404,
    "l": 44.706
  },
  "oklch": {
    "l": 0.46258,
    "c": 0.20372,
    "h": 298.4
  },
  "luminance": 0.08388
}

Semantic roles & 50–950 ramp

primary
#6B2CB8
secondary
#A4C977
accent
#E5439C
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6B2CB8

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

Preview Lab → · Contrast checker → · Palette generator →

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