#6F48AF#6F48AF

#6F48AF is a mid, vivid violet. Relative luminance 0.111; OKLCH L 49.7% C 0.158 H 297.9°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#6F48AF
RGBrgb(111, 72, 175)
HSLhsl(263, 42%, 48%)
HSVhsv(263, 59%, 69%)
CMYKcmyk(36.6%, 58.9%, 0%, 31.4%)
CIE-LABlab(39.76, 39.17, -49.23)
CIE-LCHlch(39.76, 62.92, 308.51°)
OKLaboklab(49.73% 0.0738 -0.1397)
OKLCHoklch(49.73% 0.158 297.9)
XYZxyz(16.6088, 11.1092, 41.8184)
Luminance0.1111 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6F48AF #88AF48
analogous
#4855AF #6F48AF #A248AF
triadic
#6F48AF #AF6F48 #48AF6F
tetradic
#6F48AF #AF4855 #88AF48 #48AFA2
square
#6F48AF #AF4855 #88AF48 #48AFA2
split-complementary
#6F48AF #AFA248 #55AF48
monochromatic
#382458 #533684 #6F48AF #9070C4 #B29BD6

Accessibility & contrast

On white

6.52
#6F48AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#6F48AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #6F48AF
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6F48AF#FFFFFF#000000##FFFFFF
##6F48AF1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F5EB2
Deuteranopia (green-blind)
#235DAD
Tritanopia (blue-blind)
#605E74
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #6f48af;
/* rgb */ color: rgb(111, 72, 175);
/* oklch */ color: oklch(49.7% 0.158 297.9);
Tailwind
colors: {
  custom: {
    50: '#9c7cc7',
    500: '#6f48af',
    950: '#000000',
  },
}
SCSS
$custom: #6f48af;
$custom-light: #9c7cc7;
$custom-dark: #000000;
JSON
{
  "hex": "#6f48af",
  "rgb": {
    "r": 111,
    "g": 72,
    "b": 175
  },
  "hsl": {
    "h": 262.718,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.49731,
    "c": 0.15805,
    "h": 297.9
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#6F48AF
secondary
#AFC290
accent
#D256A3
background
#F9F7FC
surface
#F2EEF8
border
#CCC9D1
text
#0F0A13
muted
#7E7C82

Preview Lab

Preview with #6F48AF

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

Preview Lab → · Contrast checker → · Palette generator →

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