#6F38CA#6F38CA

#6F38CA is a mid, highly saturated violet. Relative luminance 0.105; OKLCH L 49.6% C 0.211 H 294.7°. Best body text is #FFFFFF at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#6F38CA
RGBrgb(111, 56, 202)
HSLhsl(263, 58%, 51%)
HSVhsv(263, 72%, 79%)
CMYKcmyk(45%, 72.3%, 0%, 20.8%)
CIE-LABlab(38.68, 54.76, -66.83)
CIE-LCHlch(38.68, 86.40, 309.33°)
OKLaboklab(49.58% 0.0879 -0.1914)
OKLCHoklch(49.58% 0.211 294.7)
XYZxyz(18.6275, 10.4716, 56.9054)
Luminance0.1047 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38CA #93CA38
analogous
#384ACA #6F38CA #B838CA
triadic
#6F38CA #CA6F38 #38CA6F
tetradic
#6F38CA #CA384A #93CA38 #38CAB8
square
#6F38CA #CA384A #93CA38 #38CAB8
split-complementary
#6F38CA #CAB838 #4ACA38
monochromatic
#3A1D6B #54299B #6F38CA #9268D7 #B599E4

Accessibility & contrast

On white

6.79
#6F38CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#6F38CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38CA
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38CA#FFFFFF#000000##FFFFFF
##6F38CA1.006.793.096.79
#FFFFFF6.791.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#555E7E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f38ca;
/* rgb */ color: rgb(111, 56, 202);
/* oklch */ color: oklch(49.6% 0.211 294.7);
Tailwind
colors: {
  custom: {
    50: '#a074db',
    500: '#6f38ca',
    950: '#000000',
  },
}
SCSS
$custom: #6f38ca;
$custom-light: #a074db;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38ca",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 262.603,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.49576,
    "c": 0.21062,
    "h": 294.7
  },
  "luminance": 0.10472
}

Semantic roles & 50–950 ramp

primary
#6F38CA
secondary
#B7CF8E
accent
#E147A7
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F38CA

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

Preview Lab → · Contrast checker → · Palette generator →

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