#672294#672294

#672294 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.7% C 0.177 H 307.9°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#672294
RGBrgb(103, 34, 148)
HSLhsl(276, 63%, 36%)
HSVhsv(276, 77%, 58%)
CMYKcmyk(30.4%, 77%, 0%, 42%)
CIE-LABlab(29.83, 49.84, -49.07)
CIE-LCHlch(29.83, 69.94, 315.45°)
OKLaboklab(41.75% 0.1085 -0.1394)
OKLCHoklch(41.75% 0.177 307.9)
XYZxyz(11.5097, 6.1659, 28.5950)
Luminance0.0617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672294 #4F9422
analogous
#2E2294 #672294 #942288
triadic
#672294 #946722 #229467
tetradic
#672294 #942E22 #4F9422 #228894
square
#672294 #942E22 #4F9422 #228894
split-complementary
#672294 #889422 #22942E
monochromatic
#220B30 #441762 #672294 #8A2DC6 #A658D9

Accessibility & contrast

On white

9.40
#672294 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#672294 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672294
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672294#FFFFFF#000000##FFFFFF
##6722941.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004497
Deuteranopia (green-blind)
#004792
Tritanopia (blue-blind)
#603E5A
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672294;
/* rgb */ color: rgb(103, 34, 148);
/* oklch */ color: oklch(41.7% 0.177 307.9);
Tailwind
colors: {
  custom: {
    50: '#9765b4',
    500: '#672294',
    950: '#000000',
  },
}
SCSS
$custom: #672294;
$custom-light: #9765b4;
$custom-dark: #000000;
JSON
{
  "hex": "#672294",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 276.316,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.41748,
    "c": 0.1766,
    "h": 307.9
  },
  "luminance": 0.06166
}

Semantic roles & 50–950 ramp

primary
#672294
secondary
#7EBD55
accent
#E64283
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672294

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

Preview Lab → · Contrast checker → · Palette generator →

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