#6F2CA9#6F2CA9

#6F2CA9 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.5% C 0.189 H 304.2°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6F2CA9
RGBrgb(111, 44, 169)
HSLhsl(272, 59%, 42%)
HSVhsv(272, 74%, 66%)
CMYKcmyk(34.3%, 74%, 0%, 33.7%)
CIE-LABlab(34.08, 52.02, -54.85)
CIE-LCHlch(34.08, 75.60, 313.48°)
OKLaboklab(45.5% 0.106 -0.1562)
OKLCHoklch(45.5% 0.189 304.2)
XYZxyz(14.6160, 8.0455, 38.3114)
Luminance0.0804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA9 #66A92C
analogous
#312CA9 #6F2CA9 #A92CA5
triadic
#6F2CA9 #A96F2C #2CA96F
tetradic
#6F2CA9 #A9312C #66A92C #2CA5A9
square
#6F2CA9 #A9312C #66A92C #2CA5A9
split-complementary
#6F2CA9 #A5A92C #2CA931
monochromatic
#2F1348 #4F1F78 #6F2CA9 #8E44CE #AB74DB

Accessibility & contrast

On white

8.05
#6F2CA9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#6F2CA9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CA9
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CA9#FFFFFF#000000##FFFFFF
##6F2CA91.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAD
Deuteranopia (green-blind)
#0050A6
Tritanopia (blue-blind)
#644B68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ca9;
/* rgb */ color: rgb(111, 44, 169);
/* oklch */ color: oklch(45.5% 0.189 304.2);
Tailwind
colors: {
  custom: {
    50: '#9e6cc3',
    500: '#6f2ca9',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca9;
$custom-light: #9e6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca9",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 169
  },
  "hsl": {
    "h": 272.16,
    "s": 58.685,
    "l": 41.765
  },
  "oklch": {
    "l": 0.45499,
    "c": 0.18873,
    "h": 304.2
  },
  "luminance": 0.08045
}

Semantic roles & 50–950 ramp

primary
#6F2CA9
secondary
#95C36E
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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