#6F2CA8#6F2CA8

#6F2CA8 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.188 H 304.5°. Best body text is #FFFFFF at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#6F2CA8
RGBrgb(111, 44, 168)
HSLhsl(272, 58%, 42%)
HSVhsv(272, 74%, 66%)
CMYKcmyk(33.9%, 73.8%, 0%, 34.1%)
CIE-LABlab(34.00, 51.79, -54.38)
CIE-LCHlch(34.00, 75.09, 313.60°)
OKLaboklab(45.42% 0.1062 -0.1548)
OKLCHoklch(45.42% 0.188 304.5)
XYZxyz(14.5225, 8.0081, 37.8188)
Luminance0.0801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2CA8 #65A82C
analogous
#312CA8 #6F2CA8 #A82CA3
triadic
#6F2CA8 #A86F2C #2CA86F
tetradic
#6F2CA8 #A8312C #65A82C #2CA3A8
square
#6F2CA8 #A8312C #65A82C #2CA3A8
split-complementary
#6F2CA8 #A3A82C #2CA831
monochromatic
#2F1347 #4F1F78 #6F2CA8 #8E43CE #AB74DB

Accessibility & contrast

On white

8.07
#6F2CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#6F2CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2CA8
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2CA8#FFFFFF#000000##FFFFFF
##6F2CA81.008.072.608.07
#FFFFFF8.071.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#644A68
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ca8;
/* rgb */ color: rgb(111, 44, 168);
/* oklch */ color: oklch(45.4% 0.188 304.5);
Tailwind
colors: {
  custom: {
    50: '#9d6cc3',
    500: '#6f2ca8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ca8;
$custom-light: #9d6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ca8",
  "rgb": {
    "r": 111,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 272.419,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4542,
    "c": 0.1877,
    "h": 304.5
  },
  "luminance": 0.08008
}

Semantic roles & 50–950 ramp

primary
#6F2CA8
secondary
#94C26E
accent
#E2468E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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