#672297#672297

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

Color values

HEX#672297
RGBrgb(103, 34, 151)
HSLhsl(275, 63%, 36%)
HSVhsv(275, 77%, 59%)
CMYKcmyk(31.8%, 77.5%, 0%, 40.8%)
CIE-LABlab(30.06, 50.53, -50.52)
CIE-LCHlch(30.06, 71.45, 315.00°)
OKLaboklab(41.99% 0.1078 -0.1436)
OKLCHoklch(41.99% 0.18 306.9)
XYZxyz(11.7503, 6.2621, 29.8619)
Luminance0.0626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672297 #529722
analogous
#2D2297 #672297 #97228D
triadic
#672297 #976722 #229767
tetradic
#672297 #972D22 #529722 #228D97
square
#672297 #972D22 #529722 #228D97
split-complementary
#672297 #8D9722 #22972D
monochromatic
#230C33 #451765 #672297 #892DC9 #A55ADA

Accessibility & contrast

On white

9.32
#672297 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#672297 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672297
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672297#FFFFFF#000000##FFFFFF
##6722971.009.322.259.32
#FFFFFF9.321.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#004795
Tritanopia (blue-blind)
#5F3F5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672297;
/* rgb */ color: rgb(103, 34, 151);
/* oklch */ color: oklch(42.0% 0.180 306.9);
Tailwind
colors: {
  custom: {
    50: '#9765b6',
    500: '#672297',
    950: '#000000',
  },
}
SCSS
$custom: #672297;
$custom-light: #9765b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672297",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 151
  },
  "hsl": {
    "h": 275.385,
    "s": 63.243,
    "l": 36.275
  },
  "oklch": {
    "l": 0.41989,
    "c": 0.1796,
    "h": 306.9
  },
  "luminance": 0.06262
}

Semantic roles & 50–950 ramp

primary
#672297
secondary
#81BE57
accent
#E64285
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672297

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

Preview Lab → · Contrast checker → · Palette generator →

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