#6F2BB8#6F2BB8

#6F2BB8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.6% C 0.205 H 300.3°. Best body text is #FFFFFF at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#6F2BB8
RGBrgb(111, 43, 184)
HSLhsl(269, 62%, 45%)
HSVhsv(269, 77%, 72%)
CMYKcmyk(39.7%, 76.6%, 0%, 27.8%)
CIE-LABlab(35.14, 56.05, -62.06)
CIE-LCHlch(35.14, 83.62, 312.09°)
OKLaboklab(46.62% 0.1035 -0.1773)
OKLCHoklch(46.62% 0.205 300.3)
XYZxyz(16.0690, 8.5678, 46.1453)
Luminance0.0857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BB8 #74B82B
analogous
#2B2EB8 #6F2BB8 #B62BB8
triadic
#6F2BB8 #B86F2B #2BB86F
tetradic
#6F2BB8 #B82B2E #74B82B #2BB8B6
square
#6F2BB8 #B82B2E #74B82B #2BB8B6
split-complementary
#6F2BB8 #B8B62B #2EB82B
monochromatic
#331455 #511F86 #6F2BB8 #8E4BD5 #AD7DE1

Accessibility & contrast

On white

7.74
#6F2BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.71
#6F2BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BB8
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BB8#FFFFFF#000000##FFFFFF
##6F2BB81.007.742.717.74
#FFFFFF7.741.0021.001.00
#0000002.7121.001.0021.00
##FFFFFF7.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2bb8;
/* rgb */ color: rgb(111, 43, 184);
/* oklch */ color: oklch(46.6% 0.205 300.3);
Tailwind
colors: {
  custom: {
    50: '#9f6cce',
    500: '#6f2bb8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2bb8;
$custom-light: #9f6cce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2bb8",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 268.936,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46623,
    "c": 0.2053,
    "h": 300.3
  },
  "luminance": 0.08568
}

Semantic roles & 50–950 ramp

primary
#6F2BB8
secondary
#A1C976
accent
#E54397
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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