#6F5BB2#6F5BB2

#6F5BB2 is a mid, vivid violet. Relative luminance 0.141; OKLCH L 53.2% C 0.133 H 291.8°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#6F5BB2
RGBrgb(111, 91, 178)
HSLhsl(254, 36%, 53%)
HSVhsv(254, 49%, 70%)
CMYKcmyk(37.6%, 48.9%, 0%, 30.2%)
CIE-LABlab(44.34, 28.79, -43.67)
CIE-LCHlch(44.34, 52.31, 303.39°)
OKLaboklab(53.19% 0.0494 -0.1234)
OKLCHoklch(53.19% 0.133 291.8)
XYZxyz(18.3304, 14.0756, 43.8619)
Luminance0.1408 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F5BB2 #9EB25B
analogous
#5B72B2 #6F5BB2 #9A5BB2
triadic
#6F5BB2 #B26F5B #5BB26F
tetradic
#6F5BB2 #B25B72 #9EB25B #5BB29A
square
#6F5BB2 #B25B72 #9EB25B #5BB29A
split-complementary
#6F5BB2 #B29A5B #72B25B
monochromatic
#3B2F64 #54428D #6F5BB2 #9485C6 #B8AED9

Accessibility & contrast

On white

5.50
#6F5BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#6F5BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F5BB2
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F5BB2#FFFFFF#000000##FFFFFF
##6F5BB21.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6AB5
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#5E6C7E
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #6f5bb2;
/* rgb */ color: rgb(111, 91, 178);
/* oklch */ color: oklch(53.2% 0.133 291.8);
Tailwind
colors: {
  custom: {
    50: '#9c8ac9',
    500: '#6f5bb2',
    950: '#000000',
  },
}
SCSS
$custom: #6f5bb2;
$custom-light: #9c8ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f5bb2",
  "rgb": {
    "r": 111,
    "g": 91,
    "b": 178
  },
  "hsl": {
    "h": 253.793,
    "s": 36.1,
    "l": 52.745
  },
  "oklch": {
    "l": 0.53185,
    "c": 0.13294,
    "h": 291.8
  },
  "luminance": 0.14076
}

Semantic roles & 50–950 ramp

primary
#6F5BB2
secondary
#BFC7A2
accent
#CC5CB2
background
#F9F8FC
surface
#F2F0F8
border
#CCCBD1
text
#0E0B13
muted
#7E7C82

Preview Lab

Preview with #6F5BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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