#672098#672098

#672098 is a dark, vivid violet. Relative luminance 0.062; OKLCH L 41.9% C 0.183 H 306.8°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#672098
RGBrgb(103, 32, 152)
HSLhsl(276, 65%, 36%)
HSVhsv(276, 79%, 60%)
CMYKcmyk(32.2%, 78.9%, 0%, 40.4%)
CIE-LABlab(29.87, 51.54, -51.45)
CIE-LCHlch(29.87, 72.83, 315.05°)
OKLaboklab(41.88% 0.1094 -0.1463)
OKLCHoklch(41.88% 0.183 306.8)
XYZxyz(11.7763, 6.1837, 30.2729)
Luminance0.0618 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672098 #519820
analogous
#2B2098 #672098 #98208D
triadic
#672098 #986720 #209867
tetradic
#672098 #982B20 #519820 #208D98
square
#672098 #982B20 #519820 #208D98
split-complementary
#672098 #8D9820 #20982B
monochromatic
#220B33 #451565 #672098 #892BCB #A557DC

Accessibility & contrast

On white

9.39
#672098 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#672098 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672098
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672098#FFFFFF#000000##FFFFFF
##6720981.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00449B
Deuteranopia (green-blind)
#004796
Tritanopia (blue-blind)
#5E3F5C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672098;
/* rgb */ color: rgb(103, 32, 152);
/* oklch */ color: oklch(41.9% 0.183 306.8);
Tailwind
colors: {
  custom: {
    50: '#9764b7',
    500: '#672098',
    950: '#000000',
  },
}
SCSS
$custom: #672098;
$custom-light: #9764b7;
$custom-dark: #000000;
JSON
{
  "hex": "#672098",
  "rgb": {
    "r": 103,
    "g": 32,
    "b": 152
  },
  "hsl": {
    "h": 275.5,
    "s": 65.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.41878,
    "c": 0.1827,
    "h": 306.8
  },
  "luminance": 0.06184
}

Semantic roles & 50–950 ramp

primary
#672098
secondary
#80BF54
accent
#E84084
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672098

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

Preview Lab → · Contrast checker → · Palette generator →

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