#6F2BAD#6F2BAD

#6F2BAD is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.194 H 303.2°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#6F2BAD
RGBrgb(111, 43, 173)
HSLhsl(271, 60%, 42%)
HSVhsv(271, 75%, 68%)
CMYKcmyk(35.8%, 75.1%, 0%, 32.2%)
CIE-LABlab(34.24, 53.41, -56.98)
CIE-LCHlch(34.24, 78.10, 313.15°)
OKLaboklab(45.71% 0.1061 -0.1624)
OKLCHoklch(45.71% 0.194 303.2)
XYZxyz(14.9605, 8.1244, 40.3071)
Luminance0.0812 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BAD #69AD2B
analogous
#2E2BAD #6F2BAD #AD2BAA
triadic
#6F2BAD #AD6F2B #2BAD6F
tetradic
#6F2BAD #AD2E2B #69AD2B #2BAAAD
square
#6F2BAD #AD2E2B #69AD2B #2BAAAD
split-complementary
#6F2BAD #AAAD2B #2BAD2E
monochromatic
#30134B #501F7C #6F2BAD #8E45D1 #AC76DD

Accessibility & contrast

On white

8.00
#6F2BAD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2BAD
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BAD#FFFFFF#000000##FFFFFF
##6F2BAD1.008.002.628.00
#FFFFFF8.001.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FB1
Deuteranopia (green-blind)
#0050AA
Tritanopia (blue-blind)
#624C6A
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2bad;
/* rgb */ color: rgb(111, 43, 173);
/* oklch */ color: oklch(45.7% 0.194 303.2);
Tailwind
colors: {
  custom: {
    50: '#9e6bc6',
    500: '#6f2bad',
    950: '#000000',
  },
}
SCSS
$custom: #6f2bad;
$custom-light: #9e6bc6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2bad",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 173
  },
  "hsl": {
    "h": 271.385,
    "s": 60.185,
    "l": 42.353
  },
  "oklch": {
    "l": 0.45713,
    "c": 0.19399,
    "h": 303.2
  },
  "luminance": 0.08124
}

Semantic roles & 50–950 ramp

primary
#6F2BAD
secondary
#98C46F
accent
#E34490
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BAD

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

Preview Lab → · Contrast checker → · Palette generator →

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