#6A248E#6A248E

#6A248E is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.9% C 0.169 H 311.4°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#6A248E
RGBrgb(106, 36, 142)
HSLhsl(280, 60%, 35%)
HSVhsv(280, 75%, 56%)
CMYKcmyk(25.4%, 74.6%, 0%, 44.3%)
CIE-LABlab(30.11, 48.25, -44.90)
CIE-LCHlch(30.11, 65.91, 317.06°)
OKLaboklab(41.89% 0.1118 -0.127)
OKLCHoklch(41.89% 0.169 311.4)
XYZxyz(11.4563, 6.2792, 26.1945)
Luminance0.0628 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#6A248E #488E24
analogous
#35248E #6A248E #8E247D
triadic
#6A248E #8E6A24 #248E6A
tetradic
#6A248E #8E3524 #488E24 #247D8E
square
#6A248E #8E3524 #488E24 #247D8E
split-complementary
#6A248E #7D8E24 #248E35
monochromatic
#210B2C #46185D #6A248E #8E30BF #AA58D5

Accessibility & contrast

On white

9.31
#6A248E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#6A248E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #6A248E
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##6A248E#FFFFFF#000000##FFFFFF
##6A248E1.009.312.269.31
#FFFFFF9.311.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004491
Deuteranopia (green-blind)
#13488C
Tritanopia (blue-blind)
#653C57
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #6a248e;
/* rgb */ color: rgb(106, 36, 142);
/* oklch */ color: oklch(41.9% 0.169 311.4);
Tailwind
colors: {
  custom: {
    50: '#9966b0',
    500: '#6a248e',
    950: '#000000',
  },
}
SCSS
$custom: #6a248e;
$custom-light: #9966b0;
$custom-dark: #000000;
JSON
{
  "hex": "#6a248e",
  "rgb": {
    "r": 106,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 279.623,
    "s": 59.551,
    "l": 34.902
  },
  "oklch": {
    "l": 0.41894,
    "c": 0.16921,
    "h": 311.4
  },
  "luminance": 0.06279
}

Semantic roles & 50–950 ramp

primary
#6A248E
secondary
#77B955
accent
#E3457B
background
#F9F6FA
surface
#F2EBF5
border
#CCC6CF
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #6A248E

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

Preview Lab → · Contrast checker → · Palette generator →

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