#672894#672894

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

Color values

HEX#672894
RGBrgb(103, 40, 148)
HSLhsl(275, 57%, 37%)
HSVhsv(275, 73%, 58%)
CMYKcmyk(30.4%, 73%, 0%, 42%)
CIE-LABlab(30.73, 47.26, -47.59)
CIE-LCHlch(30.73, 67.07, 314.80°)
OKLaboklab(42.39% 0.1025 -0.1351)
OKLCHoklch(42.39% 0.17 307.2)
XYZxyz(11.6965, 6.5394, 28.6573)
Luminance0.0654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672894 #559428
analogous
#312894 #672894 #94288B
triadic
#672894 #946728 #289467
tetradic
#672894 #943128 #559428 #288B94
square
#672894 #943128 #559428 #288B94
split-complementary
#672894 #8B9428 #289431
monochromatic
#240E34 #451B64 #672894 #8935C4 #A562D5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##672894#FFFFFF#000000##FFFFFF
##6728941.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)
#004697
Deuteranopia (green-blind)
#024992
Tritanopia (blue-blind)
#60415B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672894;
/* rgb */ color: rgb(103, 40, 148);
/* oklch */ color: oklch(42.4% 0.170 307.2);
Tailwind
colors: {
  custom: {
    50: '#9768b4',
    500: '#672894',
    950: '#000000',
  },
}
SCSS
$custom: #672894;
$custom-light: #9768b4;
$custom-dark: #000000;
JSON
{
  "hex": "#672894",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 148
  },
  "hsl": {
    "h": 275,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42389,
    "c": 0.16958,
    "h": 307.2
  },
  "luminance": 0.06539
}

Semantic roles & 50–950 ramp

primary
#672894
secondary
#84BA5E
accent
#E14787
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672894

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

Preview Lab → · Contrast checker → · Palette generator →

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