#6F2EA8#6F2EA8

#6F2EA8 is a mid, vivid violet. Relative luminance 0.082; OKLCH L 45.6% C 0.185 H 304.2°. Best body text is #FFFFFF at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#6F2EA8
RGBrgb(111, 46, 168)
HSLhsl(272, 57%, 42%)
HSVhsv(272, 73%, 66%)
CMYKcmyk(33.9%, 72.6%, 0%, 34.1%)
CIE-LABlab(34.32, 50.89, -53.87)
CIE-LCHlch(34.32, 74.11, 313.37°)
OKLaboklab(45.64% 0.1042 -0.1533)
OKLCHoklch(45.64% 0.185 304.2)
XYZxyz(14.5988, 8.1607, 37.8443)
Luminance0.0816 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EA8 #67A82E
analogous
#322EA8 #6F2EA8 #A82EA4
triadic
#6F2EA8 #A86F2E #2EA86F
tetradic
#6F2EA8 #A8322E #67A82E #2EA4A8
square
#6F2EA8 #A8322E #67A82E #2EA4A8
split-complementary
#6F2EA8 #A4A82E #2EA832
monochromatic
#301448 #4F2178 #6F2EA8 #8E47CD #AB77DA

Accessibility & contrast

On white

7.98
#6F2EA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#6F2EA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EA8
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EA8#FFFFFF#000000##FFFFFF
##6F2EA81.007.982.637.98
#FFFFFF7.981.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#644B68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #6f2ea8;
/* rgb */ color: rgb(111, 46, 168);
/* oklch */ color: oklch(45.6% 0.185 304.2);
Tailwind
colors: {
  custom: {
    50: '#9d6dc3',
    500: '#6f2ea8',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ea8;
$custom-light: #9d6dc3;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ea8",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 168
  },
  "hsl": {
    "h": 271.967,
    "s": 57.009,
    "l": 41.961
  },
  "oklch": {
    "l": 0.45644,
    "c": 0.18534,
    "h": 304.2
  },
  "luminance": 0.08161
}

Semantic roles & 50–950 ramp

primary
#6F2EA8
secondary
#96C270
accent
#E0488F
background
#FAF6FC
surface
#F3ECF8
border
#CDC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #6F2EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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