#672793#672793

#672793 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.170 H 307.7°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#672793
RGBrgb(103, 39, 147)
HSLhsl(276, 58%, 36%)
HSVhsv(276, 73%, 58%)
CMYKcmyk(29.9%, 73.5%, 0%, 42.4%)
CIE-LABlab(30.50, 47.47, -47.36)
CIE-LCHlch(30.50, 67.06, 315.07°)
OKLaboklab(42.2% 0.1037 -0.1344)
OKLCHoklch(42.2% 0.17 307.7)
XYZxyz(11.5844, 6.4413, 28.2311)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672793 #539327
analogous
#312793 #672793 #932789
triadic
#672793 #936727 #279367
tetradic
#672793 #933127 #539327 #278993
square
#672793 #933127 #539327 #278993
split-complementary
#672793 #899327 #279331
monochromatic
#230D32 #451A63 #672793 #8934C3 #A560D5

Accessibility & contrast

On white

9.18
#672793 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672793
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672793#FFFFFF#000000##FFFFFF
##6727931.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004696
Deuteranopia (green-blind)
#034891
Tritanopia (blue-blind)
#60405A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672793;
/* rgb */ color: rgb(103, 39, 147);
/* oklch */ color: oklch(42.2% 0.170 307.7);
Tailwind
colors: {
  custom: {
    50: '#9767b3',
    500: '#672793',
    950: '#000000',
  },
}
SCSS
$custom: #672793;
$custom-light: #9767b3;
$custom-dark: #000000;
JSON
{
  "hex": "#672793",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 275.556,
    "s": 58.065,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42199,
    "c": 0.16977,
    "h": 307.7
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#672793
secondary
#82BA5C
accent
#E14786
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672793

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

Preview Lab → · Contrast checker → · Palette generator →

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