#6F2BA4#6F2BA4

#6F2BA4 is a dark, vivid violet. Relative luminance 0.078; OKLCH L 45.0% C 0.185 H 305.8°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#6F2BA4
RGBrgb(111, 43, 164)
HSLhsl(274, 58%, 41%)
HSVhsv(274, 74%, 64%)
CMYKcmyk(32.3%, 73.8%, 0%, 35.7%)
CIE-LABlab(33.54, 51.28, -52.73)
CIE-LCHlch(33.54, 73.55, 314.20°)
OKLaboklab(45% 0.1079 -0.1499)
OKLCHoklch(45% 0.185 305.8)
XYZxyz(14.1188, 7.7877, 35.8741)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2BA4 #60A42B
analogous
#322BA4 #6F2BA4 #A42B9C
triadic
#6F2BA4 #A46F2B #2BA46F
tetradic
#6F2BA4 #A4322B #60A42B #2B9CA4
square
#6F2BA4 #A4322B #60A42B #2B9CA4
split-complementary
#6F2BA4 #9CA42B #2BA432
monochromatic
#2D1243 #4E1E74 #6F2BA4 #8F3FCD #AB70D9

Accessibility & contrast

On white

8.21
#6F2BA4 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.56
#6F2BA4 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2BA4
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2BA4#FFFFFF#000000##FFFFFF
##6F2BA41.008.212.568.21
#FFFFFF8.211.0021.001.00
#0000002.5621.001.0021.00
##FFFFFF8.211.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #6f2ba4;
/* rgb */ color: rgb(111, 43, 164);
/* oklch */ color: oklch(45.0% 0.185 305.8);
Tailwind
colors: {
  custom: {
    50: '#9d6bc0',
    500: '#6f2ba4',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ba4;
$custom-light: #9d6bc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ba4",
  "rgb": {
    "r": 111,
    "g": 43,
    "b": 164
  },
  "hsl": {
    "h": 273.719,
    "s": 58.454,
    "l": 40.588
  },
  "oklch": {
    "l": 0.44996,
    "c": 0.18471,
    "h": 305.8
  },
  "luminance": 0.07788
}

Semantic roles & 50–950 ramp

primary
#6F2BA4
secondary
#90C16A
accent
#E2468A
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2BA4

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

Preview Lab → · Contrast checker → · Palette generator →

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