#672291#672291

#672291 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.5% C 0.174 H 308.9°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#672291
RGBrgb(103, 34, 145)
HSLhsl(277, 62%, 35%)
HSVhsv(277, 77%, 57%)
CMYKcmyk(29%, 76.6%, 0%, 43.1%)
CIE-LABlab(29.59, 49.15, -47.60)
CIE-LCHlch(29.59, 68.42, 315.92°)
OKLaboklab(41.51% 0.1091 -0.135)
OKLCHoklch(41.51% 0.174 308.9)
XYZxyz(11.2753, 6.0722, 27.3606)
Luminance0.0607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672291 #4C9122
analogous
#2F2291 #672291 #912284
triadic
#672291 #916722 #229167
tetradic
#672291 #912F22 #4C9122 #228491
square
#672291 #912F22 #4C9122 #228491
split-complementary
#672291 #849122 #22912F
monochromatic
#210B2E #44165F #672291 #8A2EC3 #A656D7

Accessibility & contrast

On white

9.48
#672291 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#672291 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672291
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672291#FFFFFF#000000##FFFFFF
##6722911.009.482.219.48
#FFFFFF9.481.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#613D58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672291;
/* rgb */ color: rgb(103, 34, 145);
/* oklch */ color: oklch(41.5% 0.174 308.9);
Tailwind
colors: {
  custom: {
    50: '#9765b2',
    500: '#672291',
    950: '#000000',
  },
}
SCSS
$custom: #672291;
$custom-light: #9765b2;
$custom-dark: #000000;
JSON
{
  "hex": "#672291",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 145
  },
  "hsl": {
    "h": 277.297,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.4151,
    "c": 0.17361,
    "h": 308.9
  },
  "luminance": 0.06072
}

Semantic roles & 50–950 ramp

primary
#672291
secondary
#7BBB53
accent
#E54380
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672291

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

Preview Lab → · Contrast checker → · Palette generator →

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