#672696#672696

#672696 is a dark, vivid violet. Relative luminance 0.065; OKLCH L 42.3% C 0.174 H 306.8°. Best body text is #FFFFFF at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#672696
RGBrgb(103, 38, 150)
HSLhsl(275, 60%, 37%)
HSVhsv(275, 75%, 59%)
CMYKcmyk(31.3%, 74.7%, 0%, 41.2%)
CIE-LABlab(30.57, 48.62, -49.08)
CIE-LCHlch(30.57, 69.09, 314.73°)
OKLaboklab(42.32% 0.1042 -0.1394)
OKLCHoklch(42.32% 0.174 306.8)
XYZxyz(11.7905, 6.4719, 29.4763)
Luminance0.0647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672696 #559626
analogous
#2F2696 #672696 #96268D
triadic
#672696 #966726 #269667
tetradic
#672696 #962F26 #559626 #268D96
square
#672696 #962F26 #559626 #268D96
split-complementary
#672696 #8D9626 #26962F
monochromatic
#240D34 #451A65 #672696 #8932C7 #A560D7

Accessibility & contrast

On white

9.15
#672696 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672696 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672696
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672696#FFFFFF#000000##FFFFFF
##6726961.009.152.299.15
#FFFFFF9.151.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672696;
/* rgb */ color: rgb(103, 38, 150);
/* oklch */ color: oklch(42.3% 0.174 306.8);
Tailwind
colors: {
  custom: {
    50: '#9767b6',
    500: '#672696',
    950: '#000000',
  },
}
SCSS
$custom: #672696;
$custom-light: #9767b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672696",
  "rgb": {
    "r": 103,
    "g": 38,
    "b": 150
  },
  "hsl": {
    "h": 274.821,
    "s": 59.574,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42323,
    "c": 0.17408,
    "h": 306.8
  },
  "luminance": 0.06472
}

Semantic roles & 50–950 ramp

primary
#672696
secondary
#84BC5C
accent
#E34587
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672696

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

Preview Lab → · Contrast checker → · Palette generator →

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