#6F2BAF#6F2BAF

#6F2BAF is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.9% C 0.196 H 302.6°. Best body text is #FFFFFF at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#6F2BAF
RGBrgb(111, 43, 175)
HSLhsl(271, 61%, 43%)
HSVhsv(271, 75%, 69%)
CMYKcmyk(36.6%, 75.4%, 0%, 31.4%)
CIE-LABlab(34.40, 53.89, -57.92)
CIE-LCHlch(34.40, 79.11, 312.94°)
OKLaboklab(45.88% 0.1057 -0.1651)
OKLCHoklch(45.88% 0.196 302.6)
XYZxyz(15.1554, 8.2024, 41.3339)
Luminance0.0820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BAF #6BAF2B
analogous
#2D2BAF #6F2BAF #AF2BAD
triadic
#6F2BAF #AF6F2B #2BAF6F
tetradic
#6F2BAF #AF2D2B #6BAF2B #2BADAF
square
#6F2BAF #AF2D2B #6BAF2B #2BADAF
split-complementary
#6F2BAF #ADAF2B #2BAF2D
monochromatic
#31134D #501F7E #6F2BAF #8E46D1 #AC77DE

Accessibility & contrast

On white

7.95
#6F2BAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#6F2BAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BAF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BAF#FFFFFF#000000##FFFFFF
##6F2BAF1.007.952.647.95
#FFFFFF7.951.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0050B3
Deuteranopia (green-blind)
#0050AC
Tritanopia (blue-blind)
#624D6B
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2baf;
/* rgb */ color: rgb(111, 43, 175);
/* oklch */ color: oklch(45.9% 0.196 302.6);
Tailwind
colors: {
  custom: {
    50: '#9e6bc8',
    500: '#6f2baf',
    950: '#000000',
  },
}
SCSS
$custom: #6f2baf;
$custom-light: #9e6bc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2baf",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 175
  },
  "hsl": {
    "h": 270.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45876,
    "c": 0.19605,
    "h": 302.6
  },
  "luminance": 0.08202
}

Semantic roles & 50–950 ramp

primary
#6F2BAF
secondary
#9AC570
accent
#E44491
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BAF

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

Preview Lab → · Contrast checker → · Palette generator →

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