#672896#672896

#672896 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.172 H 306.5°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#672896
RGBrgb(103, 40, 150)
HSLhsl(274, 58%, 37%)
HSVhsv(274, 73%, 59%)
CMYKcmyk(31.3%, 73.3%, 0%, 41.2%)
CIE-LABlab(30.89, 47.73, -48.57)
CIE-LCHlch(30.89, 68.10, 314.50°)
OKLaboklab(42.55% 0.1022 -0.138)
OKLCHoklch(42.55% 0.172 306.5)
XYZxyz(11.8561, 6.6033, 29.4982)
Luminance0.0660 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672896 #579628
analogous
#302896 #672896 #96288E
triadic
#672896 #966728 #289667
tetradic
#672896 #963028 #579628 #288E96
square
#672896 #963028 #579628 #288E96
split-complementary
#672896 #8E9628 #289630
monochromatic
#250E35 #461B66 #672896 #8835C6 #A563D5

Accessibility & contrast

On white

9.05
#672896 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#672896 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672896
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672896#FFFFFF#000000##FFFFFF
##6728961.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004799
Deuteranopia (green-blind)
#004994
Tritanopia (blue-blind)
#5F425C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672896;
/* rgb */ color: rgb(103, 40, 150);
/* oklch */ color: oklch(42.5% 0.172 306.5);
Tailwind
colors: {
  custom: {
    50: '#9768b6',
    500: '#672896',
    950: '#000000',
  },
}
SCSS
$custom: #672896;
$custom-light: #9768b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672896",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 150
  },
  "hsl": {
    "h": 274.364,
    "s": 57.895,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42545,
    "c": 0.17169,
    "h": 306.5
  },
  "luminance": 0.06603
}

Semantic roles & 50–950 ramp

primary
#672896
secondary
#86BB5F
accent
#E14789
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672896

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

Preview Lab → · Contrast checker → · Palette generator →

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