#6F32B8#6F32B8

#6F32B8 is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.4% C 0.198 H 299.4°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#6F32B8
RGBrgb(111, 50, 184)
HSLhsl(267, 57%, 46%)
HSVhsv(267, 73%, 72%)
CMYKcmyk(39.7%, 72.8%, 0%, 27.8%)
CIE-LABlab(36.22, 52.98, -60.30)
CIE-LCHlch(36.22, 80.27, 311.30°)
OKLaboklab(47.38% 0.0972 -0.1722)
OKLCHoklch(47.38% 0.198 299.4)
XYZxyz(16.3457, 9.1212, 46.2375)
Luminance0.0912 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F32B8 #7BB832
analogous
#3238B8 #6F32B8 #B232B8
triadic
#6F32B8 #B86F32 #32B86F
tetradic
#6F32B8 #B83238 #7BB832 #32B8B2
square
#6F32B8 #B83238 #7BB832 #32B8B2
split-complementary
#6F32B8 #B8B232 #38B832
monochromatic
#351858 #522588 #6F32B8 #8E56D1 #AE86DE

Accessibility & contrast

On white

7.44
#6F32B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#6F32B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F32B8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F32B8#FFFFFF#000000##FFFFFF
##6F32B81.007.442.827.44
#FFFFFF7.441.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#5E5472
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #6f32b8;
/* rgb */ color: rgb(111, 50, 184);
/* oklch */ color: oklch(47.4% 0.198 299.4);
Tailwind
colors: {
  custom: {
    50: '#9f6fce',
    500: '#6f32b8',
    950: '#000000',
  },
}
SCSS
$custom: #6f32b8;
$custom-light: #9f6fce;
$custom-dark: #000000;
JSON
{
  "hex": "#6f32b8",
  "rgb": {
    "r": 111,
    "g": 50,
    "b": 184
  },
  "hsl": {
    "h": 267.313,
    "s": 57.265,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47382,
    "c": 0.19773,
    "h": 299.4
  },
  "luminance": 0.09121
}

Semantic roles & 50–950 ramp

primary
#6F32B8
secondary
#A6C87E
accent
#E1479B
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #6F32B8

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

Preview Lab → · Contrast checker → · Palette generator →

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