#6F2FB3#6F2FB3

#6F2FB3 is a mid, vivid violet. Relative luminance 0.087; OKLCH L 46.6% C 0.196 H 301.1°. Best body text is #FFFFFF at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#6F2FB3
RGBrgb(111, 47, 179)
HSLhsl(269, 58%, 44%)
HSVhsv(269, 74%, 70%)
CMYKcmyk(38%, 73.7%, 0%, 29.8%)
CIE-LABlab(35.34, 53.11, -58.77)
CIE-LCHlch(35.34, 79.21, 312.10°)
OKLaboklab(46.64% 0.1011 -0.1677)
OKLCHoklch(46.64% 0.196 301.1)
XYZxyz(15.7068, 8.6671, 43.4845)
Luminance0.0867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2FB3 #73B32F
analogous
#2F31B3 #6F2FB3 #B12FB3
triadic
#6F2FB3 #B36F2F #2FB36F
tetradic
#6F2FB3 #B32F31 #73B32F #2FB3B1
square
#6F2FB3 #B32F31 #73B32F #2FB3B1
split-complementary
#6F2FB3 #B3B12F #31B32F
monochromatic
#331652 #512283 #6F2FB3 #8E4FD1 #AD7FDD

Accessibility & contrast

On white

7.68
#6F2FB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#6F2FB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2FB3
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2FB3#FFFFFF#000000##FFFFFF
##6F2FB31.007.682.737.68
#FFFFFF7.681.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#60506E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #6f2fb3;
/* rgb */ color: rgb(111, 47, 179);
/* oklch */ color: oklch(46.6% 0.196 301.1);
Tailwind
colors: {
  custom: {
    50: '#9e6ecb',
    500: '#6f2fb3',
    950: '#000000',
  },
}
SCSS
$custom: #6f2fb3;
$custom-light: #9e6ecb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2fb3",
  "rgb": {
    "r": 111,
    "g": 47,
    "b": 179
  },
  "hsl": {
    "h": 269.091,
    "s": 58.407,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46635,
    "c": 0.1958,
    "h": 301.1
  },
  "luminance": 0.08667
}

Semantic roles & 50–950 ramp

primary
#6F2FB3
secondary
#A0C678
accent
#E24696
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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