#6B248F#6B248F

#6B248F is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.1% C 0.171 H 311.5°. Best body text is #FFFFFF at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#6B248F
RGBrgb(107, 36, 143)
HSLhsl(280, 60%, 35%)
HSVhsv(280, 75%, 56%)
CMYKcmyk(25.2%, 74.8%, 0%, 43.9%)
CIE-LABlab(30.33, 48.68, -45.14)
CIE-LCHlch(30.33, 66.39, 317.16°)
OKLaboklab(42.11% 0.113 -0.1277)
OKLCHoklch(42.11% 0.171 311.5)
XYZxyz(11.6513, 6.3710, 26.5972)
Luminance0.0637 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6B248F #488F24
analogous
#35248F #6B248F #8F247E
triadic
#6B248F #8F6B24 #248F6B
tetradic
#6B248F #8F3524 #488F24 #247E8F
square
#6B248F #8F3524 #488F24 #247E8F
split-complementary
#6B248F #7E8F24 #248F35
monochromatic
#220B2D #46185E #6B248F #9030C0 #AB58D5

Accessibility & contrast

On white

9.23
#6B248F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#6B248F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6B248F
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6B248F#FFFFFF#000000##FFFFFF
##6B248F1.009.232.279.23
#FFFFFF9.231.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004492
Deuteranopia (green-blind)
#13498D
Tritanopia (blue-blind)
#663C57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6b248f;
/* rgb */ color: rgb(107, 36, 143);
/* oklch */ color: oklch(42.1% 0.171 311.5);
Tailwind
colors: {
  custom: {
    50: '#9966b0',
    500: '#6b248f',
    950: '#000000',
  },
}
SCSS
$custom: #6b248f;
$custom-light: #9966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6b248f",
  "rgb": {
    "r": 107,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 279.813,
    "s": 59.777,
    "l": 35.098
  },
  "oklch": {
    "l": 0.42107,
    "c": 0.17054,
    "h": 311.5
  },
  "luminance": 0.06371
}

Semantic roles & 50–950 ramp

primary
#6B248F
secondary
#77B955
accent
#E3457A
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #6B248F

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

Preview Lab → · Contrast checker → · Palette generator →

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