#6A248C#6A248C

#6A248C is a dark, vivid purple. Relative luminance 0.062; OKLCH L 41.7% C 0.167 H 312.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#6A248C
RGBrgb(106, 36, 140)
HSLhsl(280, 59%, 35%)
HSVhsv(280, 74%, 55%)
CMYKcmyk(24.3%, 74.3%, 0%, 45.1%)
CIE-LABlab(29.96, 47.81, -43.89)
CIE-LCHlch(29.96, 64.90, 317.44°)
OKLaboklab(41.74% 0.1121 -0.1241)
OKLCHoklch(41.74% 0.167 312.1)
XYZxyz(11.3075, 6.2197, 25.4107)
Luminance0.0622 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A248C #468C24
analogous
#36248C #6A248C #8C247A
triadic
#6A248C #8C6A24 #248C6A
tetradic
#6A248C #8C3624 #468C24 #247A8C
square
#6A248C #8C3624 #468C24 #247A8C
split-complementary
#6A248C #7A8C24 #248C36
monochromatic
#200B2B #45175B #6A248C #8F31BD #AB57D4

Accessibility & contrast

On white

9.36
#6A248C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#6A248C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A248C
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A248C#FFFFFF#000000##FFFFFF
##6A248C1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00438F
Deuteranopia (green-blind)
#17488A
Tritanopia (blue-blind)
#663B56
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a248c;
/* rgb */ color: rgb(106, 36, 140);
/* oklch */ color: oklch(41.7% 0.167 312.1);
Tailwind
colors: {
  custom: {
    50: '#9866ae',
    500: '#6a248c',
    950: '#000000',
  },
}
SCSS
$custom: #6a248c;
$custom-light: #9866ae;
$custom-dark: #000000;
JSON
{
  "hex": "#6a248c",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 280.385,
    "s": 59.091,
    "l": 34.51
  },
  "oklch": {
    "l": 0.41744,
    "c": 0.16722,
    "h": 312.1
  },
  "luminance": 0.06219
}

Semantic roles & 50–950 ramp

primary
#6A248C
secondary
#75B854
accent
#E24679
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A248C

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

Preview Lab → · Contrast checker → · Palette generator →

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