#6F2EBB#6F2EBB

#6F2EBB is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.205 H 299.2°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#6F2EBB
RGBrgb(111, 46, 187)
HSLhsl(268, 61%, 46%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(40.6%, 75.4%, 0%, 26.7%)
CIE-LABlab(35.83, 55.51, -62.70)
CIE-LCHlch(35.83, 83.74, 311.52°)
OKLaboklab(47.19% 0.1001 -0.1792)
OKLCHoklch(47.19% 0.205 299.2)
XYZxyz(16.4999, 8.9211, 47.8567)
Luminance0.0892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F2EBB #7ABB2E
analogous
#2E33BB #6F2EBB #B52EBB
triadic
#6F2EBB #BB6F2E #2EBB6F
tetradic
#6F2EBB #BB2E33 #7ABB2E #2EBBB5
square
#6F2EBB #BB2E33 #7ABB2E #2EBBB5
split-complementary
#6F2EBB #BBB52E #33BB2E
monochromatic
#351659 #52228A #6F2EBB #8E52D4 #AE83E0

Accessibility & contrast

On white

7.54
#6F2EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#6F2EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F2EBB
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F2EBB#FFFFFF#000000##FFFFFF
##6F2EBB1.007.542.787.54
#FFFFFF7.541.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#5D5373
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #6f2ebb;
/* rgb */ color: rgb(111, 46, 187);
/* oklch */ color: oklch(47.2% 0.205 299.2);
Tailwind
colors: {
  custom: {
    50: '#9f6ed0',
    500: '#6f2ebb',
    950: '#000000',
  },
}
SCSS
$custom: #6f2ebb;
$custom-light: #9f6ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#6f2ebb",
  "rgb": {
    "r": 111,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 267.66,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47187,
    "c": 0.2053,
    "h": 299.2
  },
  "luminance": 0.08921
}

Semantic roles & 50–950 ramp

primary
#6F2EBB
secondary
#A5CA7B
accent
#E4449A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #6F2EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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