#672397#672397

#672397 is a dark, vivid violet. Relative luminance 0.063; OKLCH L 42.1% C 0.179 H 306.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#672397
RGBrgb(103, 35, 151)
HSLhsl(275, 62%, 36%)
HSVhsv(275, 77%, 59%)
CMYKcmyk(31.8%, 76.8%, 0%, 40.8%)
CIE-LABlab(30.21, 50.12, -50.29)
CIE-LCHlch(30.21, 71.00, 314.90°)
OKLaboklab(42.09% 0.1069 -0.143)
OKLCHoklch(42.09% 0.179 306.8)
XYZxyz(11.7793, 6.3201, 29.8715)
Luminance0.0632 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672397 #539723
analogous
#2D2397 #672397 #97238D
triadic
#672397 #976723 #239767
tetradic
#672397 #972D23 #539723 #238D97
square
#672397 #972D23 #539723 #238D97
split-complementary
#672397 #8D9723 #23972D
monochromatic
#230C34 #451765 #672397 #892FC9 #A55BD9

Accessibility & contrast

On white

9.28
#672397 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#672397 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672397
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672397#FFFFFF#000000##FFFFFF
##6723971.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672397;
/* rgb */ color: rgb(103, 35, 151);
/* oklch */ color: oklch(42.1% 0.179 306.8);
Tailwind
colors: {
  custom: {
    50: '#9765b6',
    500: '#672397',
    950: '#000000',
  },
}
SCSS
$custom: #672397;
$custom-light: #9765b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672397",
  "rgb": {
    "r": 103,
    "g": 35,
    "b": 151
  },
  "hsl": {
    "h": 275.172,
    "s": 62.366,
    "l": 36.471
  },
  "oklch": {
    "l": 0.42089,
    "c": 0.17852,
    "h": 306.8
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#672397
secondary
#82BE58
accent
#E54286
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672397

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

Preview Lab → · Contrast checker → · Palette generator →

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