#672790#672790

#672790 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.0% C 0.167 H 308.7°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#672790
RGBrgb(103, 39, 144)
HSLhsl(277, 57%, 36%)
HSVhsv(277, 73%, 56%)
CMYKcmyk(28.5%, 72.9%, 0%, 43.5%)
CIE-LABlab(30.27, 46.77, -45.88)
CIE-LCHlch(30.27, 65.52, 315.55°)
OKLaboklab(41.97% 0.1042 -0.13)
OKLCHoklch(41.97% 0.167 308.7)
XYZxyz(11.3521, 6.3484, 27.0075)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672790 #509027
analogous
#322790 #672790 #902784
triadic
#672790 #906727 #279067
tetradic
#672790 #903227 #509027 #278490
square
#672790 #903227 #509027 #278490
split-complementary
#672790 #849027 #279032
monochromatic
#220D30 #451A60 #672790 #8934C0 #A65ED3

Accessibility & contrast

On white

9.25
#672790 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#672790 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672790
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672790#FFFFFF#000000##FFFFFF
##6727901.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004593
Deuteranopia (green-blind)
#0C488E
Tritanopia (blue-blind)
#613F59
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672790;
/* rgb */ color: rgb(103, 39, 144);
/* oklch */ color: oklch(42.0% 0.167 308.7);
Tailwind
colors: {
  custom: {
    50: '#9667b1',
    500: '#672790',
    950: '#000000',
  },
}
SCSS
$custom: #672790;
$custom-light: #9667b1;
$custom-dark: #000000;
JSON
{
  "hex": "#672790",
  "rgb": {
    "r": 103,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 276.571,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.41968,
    "c": 0.16664,
    "h": 308.7
  },
  "luminance": 0.06348
}

Semantic roles & 50–950 ramp

primary
#672790
secondary
#7FB95A
accent
#E14783
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672790

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

Preview Lab → · Contrast checker → · Palette generator →

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