#6B2BAF#6B2BAF

#6B2BAF is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.4% C 0.195 H 300.7°. Best body text is #FFFFFF at 8.11:1 contrast (WCAG AA passes).

Color values

HEX#6B2BAF
RGBrgb(107, 43, 175)
HSLhsl(269, 61%, 43%)
HSVhsv(269, 75%, 69%)
CMYKcmyk(38.9%, 75.4%, 0%, 31.4%)
CIE-LABlab(33.88, 53.18, -58.80)
CIE-LCHlch(33.88, 79.28, 312.13°)
OKLaboklab(45.39% 0.0999 -0.1679)
OKLCHoklch(45.39% 0.195 300.7)
XYZxyz(14.6632, 7.9486, 41.3108)
Luminance0.0795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B2BAF #6FAF2B
analogous
#2B2DAF #6B2BAF #AD2BAF
triadic
#6B2BAF #AF6B2B #2BAF6B
tetradic
#6B2BAF #AF2B2D #6FAF2B #2BAFAD
square
#6B2BAF #AF2B2D #6FAF2B #2BAFAD
split-complementary
#6B2BAF #AFAD2B #2DAF2B
monochromatic
#2F134D #4D1F7E #6B2BAF #8946D1 #A977DE

Accessibility & contrast

On white

8.11
#6B2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6B2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B2BAF
8.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B2BAF#FFFFFF#000000##FFFFFF
##6B2BAF1.008.112.598.11
#FFFFFF8.111.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB3
Deuteranopia (green-blind)
#004FAC
Tritanopia (blue-blind)
#5C4D6B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6b2baf;
/* rgb */ color: rgb(107, 43, 175);
/* oklch */ color: oklch(45.4% 0.195 300.7);
Tailwind
colors: {
  custom: {
    50: '#9c6bc8',
    500: '#6b2baf',
    950: '#000000',
  },
}
SCSS
$custom: #6b2baf;
$custom-light: #9c6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6b2baf",
  "rgb": {
    "r": 107,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 269.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45392,
    "c": 0.19534,
    "h": 300.7
  },
  "luminance": 0.07949
}

Semantic roles & 50–950 ramp

primary
#6B2BAF
secondary
#9CC570
accent
#E44496
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6B2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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