#6F2DB8#6F2DB8

#6F2DB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.203 H 300.0°. Best body text is #FFFFFF at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB8
RGBrgb(111, 45, 184)
HSLhsl(268, 61%, 45%)
HSVhsv(268, 76%, 72%)
CMYKcmyk(39.7%, 75.5%, 0%, 27.8%)
CIE-LABlab(35.43, 55.21, -61.58)
CIE-LCHlch(35.43, 82.70, 311.88°)
OKLaboklab(46.83% 0.1017 -0.1759)
OKLCHoklch(46.83% 0.203 300)
XYZxyz(16.1435, 8.7168, 46.1701)
Luminance0.0872 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB8 #76B82D
analogous
#2D31B8 #6F2DB8 #B52DB8
triadic
#6F2DB8 #B86F2D #2DB86F
tetradic
#6F2DB8 #B82D31 #76B82D #2DB8B5
square
#6F2DB8 #B82D31 #76B82D #2DB8B5
split-complementary
#6F2DB8 #B8B52D #31B82D
monochromatic
#341556 #512187 #6F2DB8 #8E4ED4 #AD80E0

Accessibility & contrast

On white

7.65
#6F2DB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#6F2DB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2DB8
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DB8#FFFFFF#000000##FFFFFF
##6F2DB81.007.652.747.65
#FFFFFF7.651.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2db8;
/* rgb */ color: rgb(111, 45, 184);
/* oklch */ color: oklch(46.8% 0.203 300.0);
Tailwind
colors: {
  custom: {
    50: '#9f6dce',
    500: '#6f2db8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db8;
$custom-light: #9f6dce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db8",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 184
  },
  "hsl": {
    "h": 268.489,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.4683,
    "c": 0.20323,
    "h": 300
  },
  "luminance": 0.08717
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #6F2DB8

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

Preview Lab → · Contrast checker → · Palette generator →

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