#6F38C7#6F38C7

#6F38C7 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.3% C 0.207 H 295.3°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#6F38C7
RGBrgb(111, 56, 199)
HSLhsl(263, 56%, 50%)
HSVhsv(263, 72%, 78%)
CMYKcmyk(44.2%, 71.9%, 0%, 22%)
CIE-LABlab(38.43, 53.98, -65.49)
CIE-LCHlch(38.43, 84.87, 309.50°)
OKLaboklab(49.33% 0.0885 -0.1875)
OKLCHoklch(49.33% 0.207 295.3)
XYZxyz(18.2758, 10.3309, 55.0529)
Luminance0.1033 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38C7 #90C738
analogous
#3849C7 #6F38C7 #B638C7
triadic
#6F38C7 #C76F38 #38C76F
tetradic
#6F38C7 #C73849 #90C738 #38C7B6
square
#6F38C7 #C73849 #90C738 #38C7B6
split-complementary
#6F38C7 #C7B638 #49C738
monochromatic
#3A1D67 #542B97 #6F38C7 #9268D4 #B498E2

Accessibility & contrast

On white

6.85
#6F38C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#6F38C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38C7
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38C7#FFFFFF#000000##FFFFFF
##6F38C71.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCB
Deuteranopia (green-blind)
#0058C4
Tritanopia (blue-blind)
#575D7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6f38c7;
/* rgb */ color: rgb(111, 56, 199);
/* oklch */ color: oklch(49.3% 0.207 295.3);
Tailwind
colors: {
  custom: {
    50: '#a073d9',
    500: '#6f38c7',
    950: '#000000',
  },
}
SCSS
$custom: #6f38c7;
$custom-light: #a073d9;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38c7",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 199
  },
  "hsl": {
    "h": 263.077,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.49326,
    "c": 0.20731,
    "h": 295.3
  },
  "luminance": 0.10331
}

Semantic roles & 50–950 ramp

primary
#6F38C7
secondary
#B5CD8D
accent
#DF48A5
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F38C7

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

Preview Lab → · Contrast checker → · Palette generator →

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