#6F2EAF#6F2EAF

#6F2EAF is a mid, vivid violet. Relative luminance 0.084; OKLCH L 46.2% C 0.193 H 302.3°. Best body text is #FFFFFF at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#6F2EAF
RGBrgb(111, 46, 175)
HSLhsl(270, 58%, 43%)
HSVhsv(270, 74%, 69%)
CMYKcmyk(36.6%, 73.7%, 0%, 31.4%)
CIE-LABlab(34.86, 52.58, -57.17)
CIE-LCHlch(34.86, 77.67, 312.61°)
OKLaboklab(46.2% 0.1029 -0.163)
OKLCHoklch(46.2% 0.193 302.3)
XYZxyz(15.2686, 8.4286, 41.3716)
Luminance0.0843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EAF #6EAF2E
analogous
#2F2EAF #6F2EAF #AF2EAE
triadic
#6F2EAF #AF6F2E #2EAF6F
tetradic
#6F2EAF #AF2F2E #6EAF2E #2EAEAF
square
#6F2EAF #AF2F2E #6EAF2E #2EAEAF
split-complementary
#6F2EAF #AEAF2E #2EAF2F
monochromatic
#32154E #50217F #6F2EAF #8E4BD0 #AC7BDC

Accessibility & contrast

On white

7.82
#6F2EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#6F2EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EAF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EAF#FFFFFF#000000##FFFFFF
##6F2EAF1.007.822.697.82
#FFFFFF7.821.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B3
Deuteranopia (green-blind)
#0051AC
Tritanopia (blue-blind)
#624E6C
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #6f2eaf;
/* rgb */ color: rgb(111, 46, 175);
/* oklch */ color: oklch(46.2% 0.193 302.3);
Tailwind
colors: {
  custom: {
    50: '#9e6dc8',
    500: '#6f2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #6f2eaf;
$custom-light: #9e6dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2eaf",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 270.233,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.462,
    "c": 0.19272,
    "h": 302.3
  },
  "luminance": 0.08429
}

Semantic roles & 50–950 ramp

primary
#6F2EAF
secondary
#9CC574
accent
#E24693
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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