#6D48DF#6D48DF

#6D48DF is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.2% C 0.216 H 288.0°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#6D48DF
RGBrgb(109, 72, 223)
HSLhsl(255, 70%, 58%)
HSVhsv(255, 68%, 87%)
CMYKcmyk(51.1%, 67.7%, 0%, 12.5%)
CIE-LABlab(43.08, 52.05, -71.72)
CIE-LCHlch(43.08, 88.62, 305.97°)
OKLaboklab(53.2% 0.0667 -0.2059)
OKLCHoklch(53.2% 0.216 288)
XYZxyz(21.9394, 13.2126, 71.1920)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6D48DF #BADF48
analogous
#486EDF #6D48DF #B948DF
triadic
#6D48DF #DF6D48 #48DF6D
tetradic
#6D48DF #DF486E #BADF48 #48DFB9
square
#6D48DF #DF486E #BADF48 #48DFB9
split-complementary
#6D48DF #DFB948 #6EDF48
monochromatic
#371A93 #4B23C7 #6D48DF #977CE8 #C0B0F1

Accessibility & contrast

On white

5.76
#6D48DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#6D48DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6D48DF
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6D48DF#FFFFFF#000000##FFFFFF
##6D48DF1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E4
Deuteranopia (green-blind)
#0062DC
Tritanopia (blue-blind)
#426E8E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #6d48df;
/* rgb */ color: rgb(109, 72, 223);
/* oklch */ color: oklch(53.2% 0.216 288.0);
Tailwind
colors: {
  custom: {
    50: '#a17eea',
    500: '#6d48df',
    950: '#000000',
  },
}
SCSS
$custom: #6d48df;
$custom-light: #a17eea;
$custom-dark: #000000;
JSON
{
  "hex": "#6d48df",
  "rgb": {
    "r": 109,
    "g": 72,
    "b": 223
  },
  "hsl": {
    "h": 254.702,
    "s": 70.233,
    "l": 57.843
  },
  "oklch": {
    "l": 0.53195,
    "c": 0.21645,
    "h": 288
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#6D48DF
secondary
#D1E0A3
accent
#ED3BC1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #6D48DF

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

Preview Lab → · Contrast checker → · Palette generator →

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