#6F38C8#6F38C8

#6F38C8 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.4% C 0.208 H 295.1°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#6F38C8
RGBrgb(111, 56, 200)
HSLhsl(263, 57%, 50%)
HSVhsv(263, 72%, 78%)
CMYKcmyk(44.5%, 72%, 0%, 21.6%)
CIE-LABlab(38.51, 54.24, -65.94)
CIE-LCHlch(38.51, 85.38, 309.44°)
OKLaboklab(49.41% 0.0883 -0.1888)
OKLCHoklch(49.41% 0.208 295.1)
XYZxyz(18.3922, 10.3775, 55.6664)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38C8 #91C838
analogous
#3849C8 #6F38C8 #B738C8
triadic
#6F38C8 #C86F38 #38C86F
tetradic
#6F38C8 #C83849 #91C838 #38C8B7
square
#6F38C8 #C83849 #91C838 #38C8B7
split-complementary
#6F38C8 #C8B738 #49C838
monochromatic
#3A1D69 #542A99 #6F38C8 #9268D5 #B498E3

Accessibility & contrast

On white

6.83
#6F38C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#6F38C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38C8
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38C8#FFFFFF#000000##FFFFFF
##6F38C81.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005CCC
Deuteranopia (green-blind)
#0058C5
Tritanopia (blue-blind)
#565D7D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #6f38c8;
/* rgb */ color: rgb(111, 56, 200);
/* oklch */ color: oklch(49.4% 0.208 295.1);
Tailwind
colors: {
  custom: {
    50: '#a073da',
    500: '#6f38c8',
    950: '#000000',
  },
}
SCSS
$custom: #6f38c8;
$custom-light: #a073da;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38c8",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 262.917,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.49409,
    "c": 0.20842,
    "h": 295.1
  },
  "luminance": 0.10378
}

Semantic roles & 50–950 ramp

primary
#6F38C8
secondary
#B5CE8E
accent
#E048A6
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #6F38C8

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

Preview Lab → · Contrast checker → · Palette generator →

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