#6F2BA6#6F2BA6

#6F2BA6 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.2% C 0.187 H 305.2°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#6F2BA6
RGBrgb(111, 43, 166)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 74%, 65%)
CMYKcmyk(33.1%, 74.1%, 0%, 34.9%)
CIE-LABlab(33.69, 51.75, -53.68)
CIE-LCHlch(33.69, 74.57, 313.95°)
OKLaboklab(45.15% 0.1076 -0.1527)
OKLCHoklch(45.15% 0.187 305.2)
XYZxyz(14.3008, 7.8605, 36.8328)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BA6 #62A62B
analogous
#312BA6 #6F2BA6 #A62B9F
triadic
#6F2BA6 #A66F2B #2BA66F
tetradic
#6F2BA6 #A6312B #62A62B #2B9FA6
square
#6F2BA6 #A6312B #62A62B #2B9FA6
split-complementary
#6F2BA6 #9FA62B #2BA631
monochromatic
#2E1245 #4E1E75 #6F2BA6 #8F41CE #AB71DA

Accessibility & contrast

On white

8.16
#6F2BA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#6F2BA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BA6
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BA6#FFFFFF#000000##FFFFFF
##6F2BA61.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DAA
Deuteranopia (green-blind)
#004FA3
Tritanopia (blue-blind)
#654966
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ba6;
/* rgb */ color: rgb(111, 43, 166);
/* oklch */ color: oklch(45.2% 0.187 305.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bc1',
    500: '#6f2ba6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ba6;
$custom-light: #9d6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ba6",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 166
  },
  "hsl": {
    "h": 273.171,
    "s": 58.852,
    "l": 40.98
  },
  "oklch": {
    "l": 0.45153,
    "c": 0.18678,
    "h": 305.2
  },
  "luminance": 0.0786
}

Semantic roles & 50–950 ramp

primary
#6F2BA6
secondary
#92C16B
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2BA6

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

Preview Lab → · Contrast checker → · Palette generator →

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