#6F2BA8#6F2BA8

#6F2BA8 is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.3% C 0.189 H 304.6°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#6F2BA8
RGBrgb(111, 43, 168)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 74%, 66%)
CMYKcmyk(33.9%, 74.4%, 0%, 34.1%)
CIE-LABlab(33.85, 52.22, -54.63)
CIE-LCHlch(33.85, 75.58, 313.71°)
OKLaboklab(45.31% 0.1072 -0.1555)
OKLCHoklch(45.31% 0.189 304.6)
XYZxyz(14.4857, 7.9345, 37.8066)
Luminance0.0793 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BA8 #64A82B
analogous
#312BA8 #6F2BA8 #A82BA3
triadic
#6F2BA8 #A86F2B #2BA86F
tetradic
#6F2BA8 #A8312B #64A82B #2BA3A8
square
#6F2BA8 #A8312B #64A82B #2BA3A8
split-complementary
#6F2BA8 #A3A82B #2BA831
monochromatic
#2F1247 #4F1F77 #6F2BA8 #8E42CF #AB72DB

Accessibility & contrast

On white

8.12
#6F2BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#6F2BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BA8
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BA8#FFFFFF#000000##FFFFFF
##6F2BA81.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#644A67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ba8;
/* rgb */ color: rgb(111, 43, 168);
/* oklch */ color: oklch(45.3% 0.189 304.6);
Tailwind
colors: {
  custom: {
    50: '#9e6bc3',
    500: '#6f2ba8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ba8;
$custom-light: #9e6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ba8",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 272.64,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45312,
    "c": 0.18884,
    "h": 304.6
  },
  "luminance": 0.07934
}

Semantic roles & 50–950 ramp

primary
#6F2BA8
secondary
#94C26C
accent
#E2458D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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