#6F38C3#6F38C3

#6F38C3 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.0% C 0.203 H 296.1°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#6F38C3
RGBrgb(111, 56, 195)
HSLhsl(264, 55%, 49%)
HSVhsv(264, 71%, 76%)
CMYKcmyk(43.1%, 71.3%, 0%, 23.5%)
CIE-LABlab(38.11, 52.94, -63.68)
CIE-LCHlch(38.11, 82.81, 309.74°)
OKLaboklab(49% 0.0893 -0.1822)
OKLCHoklch(49% 0.203 296.1)
XYZxyz(17.8174, 10.1476, 52.6391)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38C3 #8CC338
analogous
#3847C3 #6F38C3 #B538C3
triadic
#6F38C3 #C36F38 #38C36F
tetradic
#6F38C3 #C33847 #8CC338 #38C3B5
square
#6F38C3 #C33847 #8CC338 #38C3B5
split-complementary
#6F38C3 #C3B538 #47C338
monochromatic
#391D64 #542A93 #6F38C3 #9165D3 #B395E1

Accessibility & contrast

On white

6.93
#6F38C3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#6F38C3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38C3
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38C3#FFFFFF#000000##FFFFFF
##6F38C31.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BC7
Deuteranopia (green-blind)
#0058C0
Tritanopia (blue-blind)
#595B7A
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #6f38c3;
/* rgb */ color: rgb(111, 56, 195);
/* oklch */ color: oklch(49.0% 0.203 296.1);
Tailwind
colors: {
  custom: {
    50: '#9f73d6',
    500: '#6f38c3',
    950: '#000000',
  },
}
SCSS
$custom: #6f38c3;
$custom-light: #9f73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38c3",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 195
  },
  "hsl": {
    "h": 263.741,
    "s": 55.378,
    "l": 49.216
  },
  "oklch": {
    "l": 0.48995,
    "c": 0.20288,
    "h": 296.1
  },
  "luminance": 0.10148
}

Semantic roles & 50–950 ramp

primary
#6F38C3
secondary
#B2CC8B
accent
#DF49A4
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F38C3

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

Preview Lab → · Contrast checker → · Palette generator →

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