#672897#672897

#672897 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.173 H 306.2°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#672897
RGBrgb(103, 40, 151)
HSLhsl(274, 58%, 37%)
HSVhsv(274, 74%, 59%)
CMYKcmyk(31.8%, 73.5%, 0%, 40.8%)
CIE-LABlab(30.96, 47.97, -49.06)
CIE-LCHlch(30.96, 68.62, 314.35°)
OKLaboklab(42.62% 0.102 -0.1394)
OKLCHoklch(42.62% 0.173 306.2)
XYZxyz(11.9370, 6.6356, 29.9241)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672897 #589728
analogous
#302897 #672897 #972890
triadic
#672897 #976728 #289767
tetradic
#672897 #973028 #589728 #289097
square
#672897 #973028 #589728 #289097
split-complementary
#672897 #909728 #289730
monochromatic
#250E36 #461B67 #672897 #8835C7 #A464D6

Accessibility & contrast

On white

9.02
#672897 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#672897 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672897
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672897#FFFFFF#000000##FFFFFF
##6728971.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00479A
Deuteranopia (green-blind)
#004995
Tritanopia (blue-blind)
#5F425D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672897;
/* rgb */ color: rgb(103, 40, 151);
/* oklch */ color: oklch(42.6% 0.173 306.2);
Tailwind
colors: {
  custom: {
    50: '#9768b6',
    500: '#672897',
    950: '#000000',
  },
}
SCSS
$custom: #672897;
$custom-light: #9768b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672897",
  "rgb": {
    "r": 103,
    "g": 40,
    "b": 151
  },
  "hsl": {
    "h": 274.054,
    "s": 58.115,
    "l": 37.451
  },
  "oklch": {
    "l": 0.42623,
    "c": 0.17273,
    "h": 306.2
  },
  "luminance": 0.06636
}

Semantic roles & 50–950 ramp

primary
#672897
secondary
#87BC5F
accent
#E14689
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672897

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

Preview Lab → · Contrast checker → · Palette generator →

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