#6F2DB3#6F2DB3

#6F2DB3 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.198 H 301.3°. Best body text is #FFFFFF at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB3
RGBrgb(111, 45, 179)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(38%, 74.9%, 0%, 29.8%)
CIE-LABlab(35.02, 53.99, -59.28)
CIE-LCHlch(35.02, 80.18, 312.33°)
OKLaboklab(46.42% 0.1029 -0.1692)
OKLCHoklch(46.42% 0.198 301.3)
XYZxyz(15.6286, 8.5109, 43.4585)
Luminance0.0851 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB3 #71B32D
analogous
#2D2EB3 #6F2DB3 #B22DB3
triadic
#6F2DB3 #B36F2D #2DB36F
tetradic
#6F2DB3 #B32D2E #71B32D #2DB3B2
square
#6F2DB3 #B32D2E #71B32D #2DB3B2
split-complementary
#6F2DB3 #B3B22D #2EB32D
monochromatic
#321451 #512182 #6F2DB3 #8E4BD2 #AC7CDE

Accessibility & contrast

On white

7.77
#6F2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #6F2DB3
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DB3#FFFFFF#000000##FFFFFF
##6F2DB31.007.772.707.77
#FFFFFF7.771.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#604F6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2db3;
/* rgb */ color: rgb(111, 45, 179);
/* oklch */ color: oklch(46.4% 0.198 301.3);
Tailwind
colors: {
  custom: {
    50: '#9e6dcb',
    500: '#6f2db3',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db3;
$custom-light: #9e6dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db3",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 269.552,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46416,
    "c": 0.19803,
    "h": 301.3
  },
  "luminance": 0.08511
}

Semantic roles & 50–950 ramp

primary
#6F2DB3
secondary
#9FC775
accent
#E34595
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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