#672496#672496

#672496 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.176 H 307.0°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#672496
RGBrgb(103, 36, 150)
HSLhsl(275, 61%, 36%)
HSVhsv(275, 76%, 59%)
CMYKcmyk(31.3%, 76%, 0%, 41.2%)
CIE-LABlab(30.27, 49.47, -49.57)
CIE-LCHlch(30.27, 70.03, 314.94°)
OKLaboklab(42.11% 0.1062 -0.1409)
OKLCHoklch(42.11% 0.176 307)
XYZxyz(11.7282, 6.3475, 29.4556)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672496 #539624
analogous
#2E2496 #672496 #96248C
triadic
#672496 #966724 #249667
tetradic
#672496 #962E24 #539624 #248C96
square
#672496 #962E24 #539624 #248C96
split-complementary
#672496 #8C9624 #24962E
monochromatic
#230C33 #451865 #672496 #8930C7 #A55CD8

Accessibility & contrast

On white

9.25
#672496 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#672496 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672496
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672496#FFFFFF#000000##FFFFFF
##6724961.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004599
Deuteranopia (green-blind)
#004894
Tritanopia (blue-blind)
#5F405B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672496;
/* rgb */ color: rgb(103, 36, 150);
/* oklch */ color: oklch(42.1% 0.176 307.0);
Tailwind
colors: {
  custom: {
    50: '#9766b6',
    500: '#672496',
    950: '#000000',
  },
}
SCSS
$custom: #672496;
$custom-light: #9766b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672496",
  "rgb": {
    "r": 103,
    "g": 36,
    "b": 150
  },
  "hsl": {
    "h": 275.263,
    "s": 61.29,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42111,
    "c": 0.17639,
    "h": 307
  },
  "luminance": 0.06347
}

Semantic roles & 50–950 ramp

primary
#672496
secondary
#82BD59
accent
#E44386
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672496

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

Preview Lab → · Contrast checker → · Palette generator →

#672496 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva