#6F2EA5#6F2EA5

#6F2EA5 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.4% C 0.182 H 305.1°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA5
RGBrgb(111, 46, 165)
HSLhsl(273, 56%, 41%)
HSVhsv(273, 72%, 65%)
CMYKcmyk(32.7%, 72.1%, 0%, 35.3%)
CIE-LABlab(34.09, 50.18, -52.44)
CIE-LCHlch(34.09, 72.58, 313.74°)
OKLaboklab(45.41% 0.1047 -0.1491)
OKLCHoklch(45.41% 0.182 305.1)
XYZxyz(14.3226, 8.0502, 36.3893)
Luminance0.0805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA5 #64A52E
analogous
#342EA5 #6F2EA5 #A52EA0
triadic
#6F2EA5 #A56F2E #2EA56F
tetradic
#6F2EA5 #A5342E #64A52E #2EA0A5
square
#6F2EA5 #A5342E #64A52E #2EA0A5
split-complementary
#6F2EA5 #A0A52E #2EA534
monochromatic
#2F1345 #4F2175 #6F2EA5 #8E45CB #AB75D8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##6F2EA5#FFFFFF#000000##FFFFFF
##6F2EA51.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)
#004EA8
Deuteranopia (green-blind)
#0050A3
Tritanopia (blue-blind)
#654A66
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #6f2ea5;
/* rgb */ color: rgb(111, 46, 165);
/* oklch */ color: oklch(45.4% 0.182 305.1);
Tailwind
colors: {
  custom: {
    50: '#9d6dc0',
    500: '#6f2ea5',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea5;
$custom-light: #9d6dc0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea5",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 165
  },
  "hsl": {
    "h": 272.773,
    "s": 56.398,
    "l": 41.373
  },
  "oklch": {
    "l": 0.4541,
    "c": 0.18217,
    "h": 305.1
  },
  "luminance": 0.0805
}

Semantic roles & 50–950 ramp

primary
#6F2EA5
secondary
#94C06F
accent
#E0488D
background
#FAF6FB
surface
#F3ECF7
border
#CDC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #6F2EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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