#6F2AB8#6F2AB8

#6F2AB8 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.5% C 0.206 H 300.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#6F2AB8
RGBrgb(111, 42, 184)
HSLhsl(269, 63%, 44%)
HSVhsv(269, 77%, 72%)
CMYKcmyk(39.7%, 77.2%, 0%, 27.8%)
CIE-LABlab(35.00, 56.46, -62.29)
CIE-LCHlch(35.00, 84.07, 312.19°)
OKLaboklab(46.52% 0.1043 -0.178)
OKLCHoklch(46.52% 0.206 300.4)
XYZxyz(16.0331, 8.4960, 46.1333)
Luminance0.0850 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2AB8 #73B82A
analogous
#2A2CB8 #6F2AB8 #B62AB8
triadic
#6F2AB8 #B86F2A #2AB86F
tetradic
#6F2AB8 #B82A2C #73B82A #2AB8B6
square
#6F2AB8 #B82A2C #73B82A #2AB8B6
split-complementary
#6F2AB8 #B8B62A #2CB82A
monochromatic
#331354 #511F86 #6F2AB8 #8E4AD6 #AD7BE1

Accessibility & contrast

On white

7.78
#6F2AB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#6F2AB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2AB8
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2AB8#FFFFFF#000000##FFFFFF
##6F2AB81.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0051B5
Tritanopia (blue-blind)
#5E5070
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2ab8;
/* rgb */ color: rgb(111, 42, 184);
/* oklch */ color: oklch(46.5% 0.206 300.4);
Tailwind
colors: {
  custom: {
    50: '#9f6bce',
    500: '#6f2ab8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ab8;
$custom-light: #9f6bce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ab8",
  "rgb": {
    "r": 111,
    "g": 42,
    "b": 184
  },
  "hsl": {
    "h": 269.155,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46523,
    "c": 0.20631,
    "h": 300.4
  },
  "luminance": 0.08496
}

Semantic roles & 50–950 ramp

primary
#6F2AB8
secondary
#A0C975
accent
#E64296
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2AB8

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

Preview Lab → · Contrast checker → · Palette generator →

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