#6F2CA2#6F2CA2

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

Color values

HEX#6F2CA2
RGBrgb(111, 44, 162)
HSLhsl(274, 57%, 40%)
HSVhsv(274, 73%, 64%)
CMYKcmyk(31.5%, 72.8%, 0%, 36.5%)
CIE-LABlab(33.54, 50.37, -51.51)
CIE-LCHlch(33.54, 72.05, 314.36°)
OKLaboklab(44.95% 0.1073 -0.1463)
OKLCHoklch(44.95% 0.181 306.2)
XYZxyz(13.9764, 7.7896, 34.9427)
Luminance0.0779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA2 #5FA22C
analogous
#342CA2 #6F2CA2 #A22C9A
triadic
#6F2CA2 #A26F2C #2CA26F
tetradic
#6F2CA2 #A2342C #5FA22C #2C9AA2
square
#6F2CA2 #A2342C #5FA22C #2C9AA2
split-complementary
#6F2CA2 #9AA22C #2CA234
monochromatic
#2D1242 #4E1F72 #6F2CA2 #8F40CB #AB70D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F2CA2#FFFFFF#000000##FFFFFF
##6F2CA21.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)
#004DA5
Deuteranopia (green-blind)
#004FA0
Tritanopia (blue-blind)
#664864
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #6f2ca2;
/* rgb */ color: rgb(111, 44, 162);
/* oklch */ color: oklch(45.0% 0.181 306.2);
Tailwind
colors: {
  custom: {
    50: '#9d6bbe',
    500: '#6f2ca2',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca2;
$custom-light: #9d6bbe;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca2",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 274.068,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.44951,
    "c": 0.18146,
    "h": 306.2
  },
  "luminance": 0.0779
}

Semantic roles & 50–950 ramp

primary
#6F2CA2
secondary
#8FBF6A
accent
#E1478A
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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