#6F2BA2#6F2BA2

#6F2BA2 is a dark, vivid violet. Relative luminance 0.077; OKLCH L 44.8% C 0.183 H 306.4°. Best body text is #FFFFFF at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#6F2BA2
RGBrgb(111, 43, 162)
HSLhsl(274, 58%, 40%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(31.5%, 73.5%, 0%, 36.5%)
CIE-LABlab(33.38, 50.81, -51.77)
CIE-LCHlch(33.38, 72.54, 314.47°)
OKLaboklab(44.84% 0.1083 -0.1471)
OKLCHoklch(44.84% 0.183 306.4)
XYZxyz(13.9396, 7.7160, 34.9304)
Luminance0.0772 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BA2 #5EA22B
analogous
#342BA2 #6F2BA2 #A22B99
triadic
#6F2BA2 #A26F2B #2BA26F
tetradic
#6F2BA2 #A2342B #5EA22B #2B99A2
square
#6F2BA2 #A2342B #5EA22B #2B99A2
split-complementary
#6F2BA2 #99A22B #2BA234
monochromatic
#2D1141 #4E1E72 #6F2BA2 #8F3ECC #AB6FD9

Accessibility & contrast

On white

8.26
#6F2BA2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.54
#6F2BA2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BA2
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BA2#FFFFFF#000000##FFFFFF
##6F2BA21.008.262.548.26
#FFFFFF8.261.0021.001.00
#0000002.5421.001.0021.00
##FFFFFF8.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#664764
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #6f2ba2;
/* rgb */ color: rgb(111, 43, 162);
/* oklch */ color: oklch(44.8% 0.183 306.4);
Tailwind
colors: {
  custom: {
    50: '#9d6bbe',
    500: '#6f2ba2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ba2;
$custom-light: #9d6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ba2",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 162
  },
  "hsl": {
    "h": 274.286,
    "s": 58.049,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4484,
    "c": 0.18265,
    "h": 306.4
  },
  "luminance": 0.07716
}

Semantic roles & 50–950 ramp

primary
#6F2BA2
secondary
#8EC069
accent
#E14789
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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