#6B48DF#6B48DF

#6B48DF is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.217 H 287.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#6B48DF
RGBrgb(107, 72, 223)
HSLhsl(254, 70%, 58%)
HSVhsv(254, 68%, 87%)
CMYKcmyk(52%, 67.7%, 0%, 12.5%)
CIE-LABlab(42.89, 51.72, -72.04)
CIE-LCHlch(42.89, 88.68, 305.68°)
OKLaboklab(53.02% 0.064 -0.2069)
OKLCHoklch(53.02% 0.217 287.2)
XYZxyz(21.6961, 13.0872, 71.1806)
Luminance0.1309 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B48DF #BCDF48
analogous
#4871DF #6B48DF #B648DF
triadic
#6B48DF #DF6B48 #48DF6B
tetradic
#6B48DF #DF4871 #BCDF48 #48DFB6
square
#6B48DF #DF4871 #BCDF48 #48DFB6
split-complementary
#6B48DF #DFB648 #71DF48
monochromatic
#361A93 #4923C7 #6B48DF #957CE8 #BFB0F1

Accessibility & contrast

On white

5.80
#6B48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#6B48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6B48DF
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B48DF#FFFFFF#000000##FFFFFF
##6B48DF1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0061DC
Tritanopia (blue-blind)
#3E6F8E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #6b48df;
/* rgb */ color: rgb(107, 72, 223);
/* oklch */ color: oklch(53.0% 0.217 287.2);
Tailwind
colors: {
  custom: {
    50: '#9f7dea',
    500: '#6b48df',
    950: '#000000',
  },
}
SCSS
$custom: #6b48df;
$custom-light: #9f7dea;
$custom-dark: #000000;
JSON
{
  "hex": "#6b48df",
  "rgb": {
    "r": 107,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 253.907,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53015,
    "c": 0.21657,
    "h": 287.2
  },
  "luminance": 0.13088
}

Semantic roles & 50–950 ramp

primary
#6B48DF
secondary
#D2E0A3
accent
#ED3BC4
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6B48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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