#6F2BA3#6F2BA3

#6F2BA3 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 44.9% C 0.184 H 306.1°. Best body text is #FFFFFF at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#6F2BA3
RGBrgb(111, 43, 163)
HSLhsl(274, 58%, 40%)
HSVhsv(274, 74%, 64%)
CMYKcmyk(31.9%, 73.6%, 0%, 36.1%)
CIE-LABlab(33.46, 51.05, -52.25)
CIE-LCHlch(33.46, 73.05, 314.33°)
OKLaboklab(44.92% 0.1081 -0.1485)
OKLCHoklch(44.92% 0.184 306.1)
XYZxyz(14.0288, 7.7517, 35.4004)
Luminance0.0775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BA3 #5FA32B
analogous
#332BA3 #6F2BA3 #A32B9B
triadic
#6F2BA3 #A36F2B #2BA36F
tetradic
#6F2BA3 #A3332B #5FA32B #2B9BA3
square
#6F2BA3 #A3332B #5FA32B #2B9BA3
split-complementary
#6F2BA3 #9BA32B #2BA333
monochromatic
#2D1142 #4E1E73 #6F2BA3 #8F3FCC #AB6FD9

Accessibility & contrast

On white

8.23
#6F2BA3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#6F2BA3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BA3
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BA3#FFFFFF#000000##FFFFFF
##6F2BA31.008.232.558.23
#FFFFFF8.231.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004DA6
Deuteranopia (green-blind)
#004FA1
Tritanopia (blue-blind)
#664864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ba3;
/* rgb */ color: rgb(111, 43, 163);
/* oklch */ color: oklch(44.9% 0.184 306.1);
Tailwind
colors: {
  custom: {
    50: '#9d6bbf',
    500: '#6f2ba3',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ba3;
$custom-light: #9d6bbf;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ba3",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 163
  },
  "hsl": {
    "h": 274,
    "s": 58.252,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44918,
    "c": 0.18368,
    "h": 306.1
  },
  "luminance": 0.07752
}

Semantic roles & 50–950 ramp

primary
#6F2BA3
secondary
#8FC06A
accent
#E1468A
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2BA3

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

Preview Lab → · Contrast checker → · Palette generator →

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