#672398#672398

#672398 is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.2% C 0.180 H 306.5°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#672398
RGBrgb(103, 35, 152)
HSLhsl(275, 63%, 37%)
HSVhsv(275, 77%, 60%)
CMYKcmyk(32.2%, 77%, 0%, 40.4%)
CIE-LABlab(30.29, 50.35, -50.77)
CIE-LCHlch(30.29, 71.51, 314.76°)
OKLaboklab(42.17% 0.1067 -0.1444)
OKLCHoklch(42.17% 0.18 306.5)
XYZxyz(11.8608, 6.3528, 30.3010)
Luminance0.0635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672398 #549823
analogous
#2D2398 #672398 #98238F
triadic
#672398 #986723 #239867
tetradic
#672398 #982D23 #549823 #238F98
square
#672398 #982D23 #549823 #238F98
split-complementary
#672398 #8F9823 #23982D
monochromatic
#240C35 #451866 #672398 #892ECA #A55CD9

Accessibility & contrast

On white

9.25
#672398 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#672398 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672398
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672398#FFFFFF#000000##FFFFFF
##6723981.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459B
Deuteranopia (green-blind)
#004896
Tritanopia (blue-blind)
#5E405C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672398;
/* rgb */ color: rgb(103, 35, 152);
/* oklch */ color: oklch(42.2% 0.180 306.5);
Tailwind
colors: {
  custom: {
    50: '#9766b7',
    500: '#672398',
    950: '#000000',
  },
}
SCSS
$custom: #672398;
$custom-light: #9766b7;
$custom-dark: #000000;
JSON
{
  "hex": "#672398",
  "rgb": {
    "r": 103,
    "g": 35,
    "b": 152
  },
  "hsl": {
    "h": 274.872,
    "s": 62.567,
    "l": 36.667
  },
  "oklch": {
    "l": 0.42169,
    "c": 0.17952,
    "h": 306.5
  },
  "luminance": 0.06353
}

Semantic roles & 50–950 ramp

primary
#672398
secondary
#83BE59
accent
#E64287
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672398

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

Preview Lab → · Contrast checker → · Palette generator →

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