#672796#672796

#672796 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.4% C 0.173 H 306.7°. Best body text is #FFFFFF at 9.10:1 contrast (WCAG AA passes).

Color values

HEX#672796
RGBrgb(103, 39, 150)
HSLhsl(275, 59%, 37%)
HSVhsv(275, 74%, 59%)
CMYKcmyk(31.3%, 74%, 0%, 41.2%)
CIE-LABlab(30.73, 48.18, -48.83)
CIE-LCHlch(30.73, 68.60, 314.62°)
OKLaboklab(42.43% 0.1032 -0.1387)
OKLCHoklch(42.43% 0.173 306.7)
XYZxyz(11.8229, 6.5367, 29.4871)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672796 #569627
analogous
#302796 #672796 #96278D
triadic
#672796 #966727 #279667
tetradic
#672796 #963027 #569627 #278D96
square
#672796 #963027 #569627 #278D96
split-complementary
#672796 #8D9627 #279630
monochromatic
#240E35 #461A65 #672796 #8834C7 #A561D6

Accessibility & contrast

On white

9.10
#672796 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#672796 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672796
9.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672796#FFFFFF#000000##FFFFFF
##6727961.009.102.319.10
#FFFFFF9.101.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004699
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#5F415C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672796;
/* rgb */ color: rgb(103, 39, 150);
/* oklch */ color: oklch(42.4% 0.173 306.7);
Tailwind
colors: {
  custom: {
    50: '#9767b6',
    500: '#672796',
    950: '#000000',
  },
}
SCSS
$custom: #672796;
$custom-light: #9767b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672796",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 150
  },
  "hsl": {
    "h": 274.595,
    "s": 58.73,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42433,
    "c": 0.1729,
    "h": 306.7
  },
  "luminance": 0.06537
}

Semantic roles & 50–950 ramp

primary
#672796
secondary
#85BC5D
accent
#E24688
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672796

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

Preview Lab → · Contrast checker → · Palette generator →

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