#6F2DB0#6F2DB0

#6F2DB0 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.195 H 302.1°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#6F2DB0
RGBrgb(111, 45, 176)
HSLhsl(270, 59%, 43%)
HSVhsv(270, 74%, 69%)
CMYKcmyk(36.9%, 74.4%, 0%, 31%)
CIE-LABlab(34.78, 53.26, -57.89)
CIE-LCHlch(34.78, 78.66, 312.62°)
OKLaboklab(46.17% 0.1036 -0.1651)
OKLCHoklch(46.17% 0.195 302.1)
XYZxyz(15.3285, 8.3908, 41.8779)
Luminance0.0839 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2DB0 #6EB02D
analogous
#2D2DB0 #6F2DB0 #B02DAF
triadic
#6F2DB0 #B06F2D #2DB06F
tetradic
#6F2DB0 #B02D2D #6EB02D #2DAFB0
square
#6F2DB0 #B02D2D #6EB02D #2DAFB0
split-complementary
#6F2DB0 #AFB02D #2DB02D
monochromatic
#32144F #50217F #6F2DB0 #8E4AD1 #AC7ADD

Accessibility & contrast

On white

7.84
#6F2DB0 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#6F2DB0 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2DB0
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2DB0#FFFFFF#000000##FFFFFF
##6F2DB01.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B4
Deuteranopia (green-blind)
#0051AD
Tritanopia (blue-blind)
#614E6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2db0;
/* rgb */ color: rgb(111, 45, 176);
/* oklch */ color: oklch(46.2% 0.195 302.1);
Tailwind
colors: {
  custom: {
    50: '#9e6cc9',
    500: '#6f2db0',
    950: '#000000',
  },
}
SCSS
$custom: #6f2db0;
$custom-light: #9e6cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2db0",
  "rgb": {
    "r": 111,
    "g": 45,
    "b": 176
  },
  "hsl": {
    "h": 270.229,
    "s": 59.276,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46171,
    "c": 0.19489,
    "h": 302.1
  },
  "luminance": 0.08391
}

Semantic roles & 50–950 ramp

primary
#6F2DB0
secondary
#9CC573
accent
#E24593
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2DB0

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

Preview Lab → · Contrast checker → · Palette generator →

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