#6F38C2#6F38C2

#6F38C2 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 48.9% C 0.202 H 296.3°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#6F38C2
RGBrgb(111, 56, 194)
HSLhsl(264, 55%, 49%)
HSVhsv(264, 71%, 76%)
CMYKcmyk(42.8%, 71.1%, 0%, 23.9%)
CIE-LABlab(38.03, 52.68, -63.23)
CIE-LCHlch(38.03, 82.30, 309.80°)
OKLaboklab(48.91% 0.0895 -0.1808)
OKLCHoklch(48.91% 0.202 296.3)
XYZxyz(17.7048, 10.1025, 52.0456)
Luminance0.1010 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38C2 #8BC238
analogous
#3846C2 #6F38C2 #B438C2
triadic
#6F38C2 #C26F38 #38C26F
tetradic
#6F38C2 #C23846 #8BC238 #38C2B4
square
#6F38C2 #C23846 #8BC238 #38C2B4
split-complementary
#6F38C2 #C2B438 #46C238
monochromatic
#391D63 #542A93 #6F38C2 #9065D2 #B294E0

Accessibility & contrast

On white

6.95
#6F38C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#6F38C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F38C2
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38C2#FFFFFF#000000##FFFFFF
##6F38C21.006.953.026.95
#FFFFFF6.951.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC6
Deuteranopia (green-blind)
#0058BF
Tritanopia (blue-blind)
#595B79
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #6f38c2;
/* rgb */ color: rgb(111, 56, 194);
/* oklch */ color: oklch(48.9% 0.202 296.3);
Tailwind
colors: {
  custom: {
    50: '#9f73d5',
    500: '#6f38c2',
    950: '#000000',
  },
}
SCSS
$custom: #6f38c2;
$custom-light: #9f73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38c2",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 263.913,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.48914,
    "c": 0.20177,
    "h": 296.3
  },
  "luminance": 0.10103
}

Semantic roles & 50–950 ramp

primary
#6F38C2
secondary
#B1CB8A
accent
#DF49A3
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #6F38C2

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

Preview Lab → · Contrast checker → · Palette generator →

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