#6F2BAC#6F2BAC

#6F2BAC is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.6% C 0.193 H 303.4°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6F2BAC
RGBrgb(111, 43, 172)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 67%)
CMYKcmyk(35.5%, 75%, 0%, 32.5%)
CIE-LABlab(34.16, 53.17, -56.52)
CIE-LCHlch(34.16, 77.60, 313.25°)
OKLaboklab(45.63% 0.1063 -0.161)
OKLCHoklch(45.63% 0.193 303.4)
XYZxyz(14.8641, 8.0858, 39.7994)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BAC #68AC2B
analogous
#2F2BAC #6F2BAC #AC2BA9
triadic
#6F2BAC #AC6F2B #2BAC6F
tetradic
#6F2BAC #AC2F2B #68AC2B #2BA9AC
square
#6F2BAC #AC2F2B #68AC2B #2BA9AC
split-complementary
#6F2BAC #A9AC2B #2BAC2F
monochromatic
#30134A #4F1F7B #6F2BAC #8E44D0 #AC75DC

Accessibility & contrast

On white

8.02
#6F2BAC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F2BAC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BAC
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BAC#FFFFFF#000000##FFFFFF
##6F2BAC1.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB0
Deuteranopia (green-blind)
#0050A9
Tritanopia (blue-blind)
#634B6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2bac;
/* rgb */ color: rgb(111, 43, 172);
/* oklch */ color: oklch(45.6% 0.193 303.4);
Tailwind
colors: {
  custom: {
    50: '#9e6bc6',
    500: '#6f2bac',
    950: '#000000',
  },
}
SCSS
$custom: #6f2bac;
$custom-light: #9e6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2bac",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 271.628,
    "s": 60,
    "l": 42.157
  },
  "oklch": {
    "l": 0.45632,
    "c": 0.19297,
    "h": 303.4
  },
  "luminance": 0.08086
}

Semantic roles & 50–950 ramp

primary
#6F2BAC
secondary
#97C46F
accent
#E34590
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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