#6F2DB9#6F2DB9

#6F2DB9 is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 46.9% C 0.204 H 299.8°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB9
RGBrgb(111, 45, 185)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 73%)
CMYKcmyk(40%, 75.7%, 0%, 27.5%)
CIE-LABlab(35.52, 55.45, -62.03)
CIE-LCHlch(35.52, 83.20, 311.79°)
OKLaboklab(46.91% 0.1015 -0.1773)
OKLCHoklch(46.91% 0.204 299.8)
XYZxyz(16.2487, 8.7589, 46.7241)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB9 #77B92D
analogous
#2D31B9 #6F2DB9 #B52DB9
triadic
#6F2DB9 #B96F2D #2DB96F
tetradic
#6F2DB9 #B92D31 #77B92D #2DB9B5
square
#6F2DB9 #B92D31 #77B92D #2DB9B5
split-complementary
#6F2DB9 #B9B52D #31B92D
monochromatic
#341557 #512188 #6F2DB9 #8E4FD4 #AD80E0

Accessibility & contrast

On white

7.63
#6F2DB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#6F2DB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2DB9
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DB9#FFFFFF#000000##FFFFFF
##6F2DB91.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BD
Deuteranopia (green-blind)
#0052B6
Tritanopia (blue-blind)
#5E5271
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f2db9;
/* rgb */ color: rgb(111, 45, 185);
/* oklch */ color: oklch(46.9% 0.204 299.8);
Tailwind
colors: {
  custom: {
    50: '#9f6dcf',
    500: '#6f2db9',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db9;
$custom-light: #9f6dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db9",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 185
  },
  "hsl": {
    "h": 268.286,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46913,
    "c": 0.20426,
    "h": 299.8
  },
  "luminance": 0.08759
}

Semantic roles & 50–950 ramp

primary
#6F2DB9
secondary
#A3C979
accent
#E44498
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2DB9

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

Preview Lab → · Contrast checker → · Palette generator →

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