#672597#672597

#672597 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.3% C 0.176 H 306.6°. Best body text is #FFFFFF at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#672597
RGBrgb(103, 37, 151)
HSLhsl(275, 61%, 37%)
HSVhsv(275, 75%, 59%)
CMYKcmyk(31.8%, 75.5%, 0%, 40.8%)
CIE-LABlab(30.50, 49.28, -49.81)
CIE-LCHlch(30.50, 70.07, 314.69°)
OKLaboklab(42.3% 0.105 -0.1416)
OKLCHoklch(42.3% 0.176 306.6)
XYZxyz(11.8398, 6.4412, 29.8917)
Luminance0.0644 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672597 #559725
analogous
#2E2597 #672597 #97258E
triadic
#672597 #976725 #259767
tetradic
#672597 #972E25 #559725 #258E97
square
#672597 #972E25 #559725 #258E97
split-complementary
#672597 #8E9725 #25972E
monochromatic
#240D35 #451966 #672597 #8931C8 #A55FD8

Accessibility & contrast

On white

9.18
#672597 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#672597 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672597
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672597#FFFFFF#000000##FFFFFF
##6725971.009.182.299.18
#FFFFFF9.181.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00469A
Deuteranopia (green-blind)
#004895
Tritanopia (blue-blind)
#5F415C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #672597;
/* rgb */ color: rgb(103, 37, 151);
/* oklch */ color: oklch(42.3% 0.176 306.6);
Tailwind
colors: {
  custom: {
    50: '#9766b6',
    500: '#672597',
    950: '#000000',
  },
}
SCSS
$custom: #672597;
$custom-light: #9766b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672597",
  "rgb": {
    "r": 103,
    "g": 37,
    "b": 151
  },
  "hsl": {
    "h": 274.737,
    "s": 60.638,
    "l": 36.863
  },
  "oklch": {
    "l": 0.42295,
    "c": 0.17627,
    "h": 306.6
  },
  "luminance": 0.06441
}

Semantic roles & 50–950 ramp

primary
#672597
secondary
#84BD5B
accent
#E44487
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672597

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

Preview Lab → · Contrast checker → · Palette generator →

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