#6F2BAA#6F2BAA

#6F2BAA is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.191 H 304.0°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6F2BAA
RGBrgb(111, 43, 170)
HSLhsl(272, 60%, 42%)
HSVhsv(272, 75%, 67%)
CMYKcmyk(34.7%, 74.7%, 0%, 33.3%)
CIE-LABlab(34.00, 52.70, -55.58)
CIE-LCHlch(34.00, 76.59, 313.48°)
OKLaboklab(45.47% 0.1067 -0.1583)
OKLCHoklch(45.47% 0.191 304)
XYZxyz(14.6734, 8.0096, 38.7954)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BAA #66AA2B
analogous
#302BAA #6F2BAA #AA2BA6
triadic
#6F2BAA #AA6F2B #2BAA6F
tetradic
#6F2BAA #AA302B #66AA2B #2BA6AA
square
#6F2BAA #AA302B #66AA2B #2BA6AA
split-complementary
#6F2BAA #A6AA2B #2BAA30
monochromatic
#2F1248 #4F1F79 #6F2BAA #8E43CF #AB74DC

Accessibility & contrast

On white

8.07
#6F2BAA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6F2BAA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BAA
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BAA#FFFFFF#000000##FFFFFF
##6F2BAA1.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAE
Deuteranopia (green-blind)
#0050A7
Tritanopia (blue-blind)
#634A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2baa;
/* rgb */ color: rgb(111, 43, 170);
/* oklch */ color: oklch(45.5% 0.191 304.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bc4',
    500: '#6f2baa',
    950: '#000000',
  },
}
SCSS
$custom: #6f2baa;
$custom-light: #9e6bc4;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2baa",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 170
  },
  "hsl": {
    "h": 272.126,
    "s": 59.624,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45471,
    "c": 0.1909,
    "h": 304
  },
  "luminance": 0.0801
}

Semantic roles & 50–950 ramp

primary
#6F2BAA
secondary
#95C36E
accent
#E3458E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BAA

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

Preview Lab → · Contrast checker → · Palette generator →

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