#6F2EA6#6F2EA6

#6F2EA6 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.5% C 0.183 H 304.8°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA6
RGBrgb(111, 46, 166)
HSLhsl(273, 57%, 42%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(33.1%, 72.3%, 0%, 34.9%)
CIE-LABlab(34.16, 50.42, -52.91)
CIE-LCHlch(34.16, 73.09, 313.62°)
OKLaboklab(45.49% 0.1046 -0.1505)
OKLCHoklch(45.49% 0.183 304.8)
XYZxyz(14.4139, 8.0867, 36.8705)
Luminance0.0809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA6 #65A62E
analogous
#332EA6 #6F2EA6 #A62EA1
triadic
#6F2EA6 #A66F2E #2EA66F
tetradic
#6F2EA6 #A6332E #65A62E #2EA1A6
square
#6F2EA6 #A6332E #65A62E #2EA1A6
split-complementary
#6F2EA6 #A1A62E #2EA633
monochromatic
#2F1346 #4F2176 #6F2EA6 #8E46CC #AB76D9

Accessibility & contrast

On white

8.02
#6F2EA6 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#6F2EA6 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA6
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA6#FFFFFF#000000##FFFFFF
##6F2EA61.008.022.628.02
#FFFFFF8.021.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA9
Deuteranopia (green-blind)
#0050A4
Tritanopia (blue-blind)
#654A67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ea6;
/* rgb */ color: rgb(111, 46, 166);
/* oklch */ color: oklch(45.5% 0.183 304.8);
Tailwind
colors: {
  custom: {
    50: '#9d6dc1',
    500: '#6f2ea6',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea6;
$custom-light: #9d6dc1;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea6",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 166
  },
  "hsl": {
    "h": 272.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.45488,
    "c": 0.18323,
    "h": 304.8
  },
  "luminance": 0.08087
}

Semantic roles & 50–950 ramp

primary
#6F2EA6
secondary
#94C16F
accent
#E0488E
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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