#6F2BA5#6F2BA5

#6F2BA5 is a mid, vivid violet. Relative luminance 0.078; OKLCH L 45.1% C 0.186 H 305.5°. Best body text is #FFFFFF at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#6F2BA5
RGBrgb(111, 43, 165)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 74%, 65%)
CMYKcmyk(32.7%, 73.9%, 0%, 35.3%)
CIE-LABlab(33.61, 51.52, -53.20)
CIE-LCHlch(33.61, 74.06, 314.08°)
OKLaboklab(45.07% 0.1077 -0.1513)
OKLCHoklch(45.07% 0.186 305.5)
XYZxyz(14.2094, 7.8240, 36.3516)
Luminance0.0782 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BA5 #61A52B
analogous
#322BA5 #6F2BA5 #A52B9E
triadic
#6F2BA5 #A56F2B #2BA56F
tetradic
#6F2BA5 #A5322B #61A52B #2B9EA5
square
#6F2BA5 #A5322B #61A52B #2B9EA5
split-complementary
#6F2BA5 #9EA52B #2BA532
monochromatic
#2E1244 #4E1E74 #6F2BA5 #8F40CD #AB71DA

Accessibility & contrast

On white

8.19
#6F2BA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F2BA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BA5
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BA5#FFFFFF#000000##FFFFFF
##6F2BA51.008.192.568.19
#FFFFFF8.191.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA8
Deuteranopia (green-blind)
#004FA2
Tritanopia (blue-blind)
#654866
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ba5;
/* rgb */ color: rgb(111, 43, 165);
/* oklch */ color: oklch(45.1% 0.186 305.5);
Tailwind
colors: {
  custom: {
    50: '#9d6bc1',
    500: '#6f2ba5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ba5;
$custom-light: #9d6bc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ba5",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 165
  },
  "hsl": {
    "h": 273.443,
    "s": 58.654,
    "l": 40.784
  },
  "oklch": {
    "l": 0.45074,
    "c": 0.18575,
    "h": 305.5
  },
  "luminance": 0.07824
}

Semantic roles & 50–950 ramp

primary
#6F2BA5
secondary
#91C16B
accent
#E2468B
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2BA5

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

Preview Lab → · Contrast checker → · Palette generator →

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