#672292#672292

#672292 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.175 H 308.6°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#672292
RGBrgb(103, 34, 146)
HSLhsl(277, 62%, 35%)
HSVhsv(277, 77%, 57%)
CMYKcmyk(29.5%, 76.7%, 0%, 42.7%)
CIE-LABlab(29.67, 49.38, -48.09)
CIE-LCHlch(29.67, 68.93, 315.76°)
OKLaboklab(41.59% 0.1089 -0.1365)
OKLCHoklch(41.59% 0.175 308.6)
XYZxyz(11.3528, 6.1031, 27.7685)
Luminance0.0610 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672292 #4D9222
analogous
#2F2292 #672292 #922285
triadic
#672292 #926722 #229267
tetradic
#672292 #922F22 #4D9222 #228592
square
#672292 #922F22 #4D9222 #228592
split-complementary
#672292 #859222 #22922F
monochromatic
#210B2F #441660 #672292 #8A2EC4 #A657D8

Accessibility & contrast

On white

9.46
#672292 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#672292 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672292
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672292#FFFFFF#000000##FFFFFF
##6722921.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004395
Deuteranopia (green-blind)
#004790
Tritanopia (blue-blind)
#603D59
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672292;
/* rgb */ color: rgb(103, 34, 146);
/* oklch */ color: oklch(41.6% 0.175 308.6);
Tailwind
colors: {
  custom: {
    50: '#9765b3',
    500: '#672292',
    950: '#000000',
  },
}
SCSS
$custom: #672292;
$custom-light: #9765b3;
$custom-dark: #000000;
JSON
{
  "hex": "#672292",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 146
  },
  "hsl": {
    "h": 276.964,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41589,
    "c": 0.1746,
    "h": 308.6
  },
  "luminance": 0.06103
}

Semantic roles & 50–950 ramp

primary
#672292
secondary
#7CBC54
accent
#E54381
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672292

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

Preview Lab → · Contrast checker → · Palette generator →

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