#6F37AF#6F37AF

#6F37AF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.3% C 0.182 H 301.0°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#6F37AF
RGBrgb(111, 55, 175)
HSLhsl(268, 52%, 45%)
HSVhsv(268, 69%, 69%)
CMYKcmyk(36.6%, 68.6%, 0%, 31.4%)
CIE-LABlab(36.38, 48.32, -54.70)
CIE-LCHlch(36.38, 72.99, 311.46°)
OKLaboklab(47.28% 0.0937 -0.1558)
OKLCHoklch(47.28% 0.182 301)
XYZxyz(15.6577, 9.2069, 41.5013)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F37AF #77AF37
analogous
#373BAF #6F37AF #AB37AF
triadic
#6F37AF #AF6F37 #37AF6F
tetradic
#6F37AF #AF373B #77AF37 #37AFAB
square
#6F37AF #AF373B #77AF37 #37AFAB
split-complementary
#6F37AF #AFAB37 #3BAF37
monochromatic
#341A52 #512880 #6F37AF #8E59CB #AD87D9

Accessibility & contrast

On white

7.39
#6F37AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#6F37AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F37AF
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F37AF#FFFFFF#000000##FFFFFF
##6F37AF1.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#61536F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f37af;
/* rgb */ color: rgb(111, 55, 175);
/* oklch */ color: oklch(47.3% 0.182 301.0);
Tailwind
colors: {
  custom: {
    50: '#9d72c8',
    500: '#6f37af',
    950: '#000000',
  },
}
SCSS
$custom: #6f37af;
$custom-light: #9d72c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f37af",
  "rgb": {
    "r": 111,
    "g": 55,
    "b": 175
  },
  "hsl": {
    "h": 268,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.4728,
    "c": 0.18178,
    "h": 301
  },
  "luminance": 0.09207
}

Semantic roles & 50–950 ramp

primary
#6F37AF
secondary
#A3C37F
accent
#DC4C99
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F37AF

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

Preview Lab → · Contrast checker → · Palette generator →

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