#6F48BE#6F48BE

#6F48BE is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.8% C 0.177 H 294.5°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#6F48BE
RGBrgb(111, 72, 190)
HSLhsl(260, 48%, 51%)
HSVhsv(260, 62%, 75%)
CMYKcmyk(41.6%, 62.1%, 0%, 25.5%)
CIE-LABlab(40.79, 43.24, -56.41)
CIE-LCHlch(40.79, 71.07, 307.47°)
OKLaboklab(50.8% 0.0732 -0.1608)
OKLCHoklch(50.8% 0.177 294.5)
XYZxyz(18.1647, 11.7315, 50.0126)
Luminance0.1173 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48BE #97BE48
analogous
#485CBE #6F48BE #AA48BE
triadic
#6F48BE #BE6F48 #48BE6F
tetradic
#6F48BE #BE485C #97BE48 #48BEAA
square
#6F48BE #BE485C #97BE48 #48BEAA
split-complementary
#6F48BE #BEAA48 #5CBE48
monochromatic
#3B2567 #543594 #6F48BE #9375CE #B6A2DE

Accessibility & contrast

On white

6.28
#6F48BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#6F48BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48BE
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48BE#FFFFFF#000000##FFFFFF
##6F48BE1.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C2
Deuteranopia (green-blind)
#005EBB
Tritanopia (blue-blind)
#5A637C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #6f48be;
/* rgb */ color: rgb(111, 72, 190);
/* oklch */ color: oklch(50.8% 0.177 294.5);
Tailwind
colors: {
  custom: {
    50: '#9e7dd2',
    500: '#6f48be',
    950: '#000000',
  },
}
SCSS
$custom: #6f48be;
$custom-light: #9e7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48be",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 259.831,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.50803,
    "c": 0.17672,
    "h": 294.5
  },
  "luminance": 0.11732
}

Semantic roles & 50–950 ramp

primary
#6F48BE
secondary
#BACB97
accent
#D751AB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #6F48BE

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

Preview Lab → · Contrast checker → · Palette generator →

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