#6F38CD#6F38CD

#6F38CD is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 49.8% C 0.214 H 294.1°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#6F38CD
RGBrgb(111, 56, 205)
HSLhsl(262, 60%, 51%)
HSVhsv(262, 73%, 80%)
CMYKcmyk(45.9%, 72.7%, 0%, 19.6%)
CIE-LABlab(38.92, 55.54, -68.17)
CIE-LCHlch(38.92, 87.93, 309.17°)
OKLaboklab(49.83% 0.0872 -0.1953)
OKLCHoklch(49.83% 0.214 294.1)
XYZxyz(18.9861, 10.6151, 58.7943)
Luminance0.1062 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38CD #96CD38
analogous
#384BCD #6F38CD #B938CD
triadic
#6F38CD #CD6F38 #38CD6F
tetradic
#6F38CD #CD384B #96CD38 #38CDB9
square
#6F38CD #CD384B #96CD38 #38CDB9
split-complementary
#6F38CD #CDB938 #4BCD38
monochromatic
#3A1C6F #5428A0 #6F38CD #9269D9 #B69AE6

Accessibility & contrast

On white

6.72
#6F38CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#6F38CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38CD
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38CD#FFFFFF#000000##FFFFFF
##6F38CD1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DD1
Deuteranopia (green-blind)
#0059CA
Tritanopia (blue-blind)
#535F7F
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #6f38cd;
/* rgb */ color: rgb(111, 56, 205);
/* oklch */ color: oklch(49.8% 0.214 294.1);
Tailwind
colors: {
  custom: {
    50: '#a174dd',
    500: '#6f38cd',
    950: '#000000',
  },
}
SCSS
$custom: #6f38cd;
$custom-light: #a174dd;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38cd",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 262.148,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.49828,
    "c": 0.21392,
    "h": 294.1
  },
  "luminance": 0.10616
}

Semantic roles & 50–950 ramp

primary
#6F38CD
secondary
#B9D18F
accent
#E345A9
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F38CD

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

Preview Lab → · Contrast checker → · Palette generator →

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