#6F38AF#6F38AF

#6F38AF is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.4% C 0.180 H 300.9°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#6F38AF
RGBrgb(111, 56, 175)
HSLhsl(268, 52%, 45%)
HSVhsv(268, 68%, 69%)
CMYKcmyk(36.6%, 68%, 0%, 31.4%)
CIE-LABlab(36.56, 47.82, -54.41)
CIE-LCHlch(36.56, 72.43, 311.31°)
OKLaboklab(47.41% 0.0926 -0.1549)
OKLCHoklch(47.41% 0.18 300.9)
XYZxyz(15.7057, 9.3029, 41.5173)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F38AF #78AF38
analogous
#383DAF #6F38AF #AA38AF
triadic
#6F38AF #AF6F38 #38AF6F
tetradic
#6F38AF #AF383D #78AF38 #38AFAA
square
#6F38AF #AF383D #78AF38 #38AFAA
split-complementary
#6F38AF #AFAA38 #3DAF38
monochromatic
#341A52 #522981 #6F38AF #8E5ACA #AE88D9

Accessibility & contrast

On white

7.34
#6F38AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#6F38AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6F38AF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F38AF#FFFFFF#000000##FFFFFF
##6F38AF1.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#61546F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #6f38af;
/* rgb */ color: rgb(111, 56, 175);
/* oklch */ color: oklch(47.4% 0.180 300.9);
Tailwind
colors: {
  custom: {
    50: '#9d73c8',
    500: '#6f38af',
    950: '#000000',
  },
}
SCSS
$custom: #6f38af;
$custom-light: #9d73c8;
$custom-dark: #000000;
JSON
{
  "hex": "#6f38af",
  "rgb": {
    "r": 111,
    "g": 56,
    "b": 175
  },
  "hsl": {
    "h": 267.731,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.18049,
    "h": 300.9
  },
  "luminance": 0.09303
}

Semantic roles & 50–950 ramp

primary
#6F38AF
secondary
#A4C380
accent
#DB4D99
background
#FAF7FC
surface
#F3EDF8
border
#CDC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #6F38AF

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

Preview Lab → · Contrast checker → · Palette generator →

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