#672298#672298

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

Color values

HEX#672298
RGBrgb(103, 34, 152)
HSLhsl(275, 63%, 36%)
HSVhsv(275, 78%, 60%)
CMYKcmyk(32.2%, 77.6%, 0%, 40.4%)
CIE-LABlab(30.14, 50.76, -51.00)
CIE-LCHlch(30.14, 71.96, 314.86°)
OKLaboklab(42.07% 0.1076 -0.1451)
OKLCHoklch(42.07% 0.181 306.6)
XYZxyz(11.8318, 6.2947, 30.2914)
Luminance0.0630 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672298 #539822
analogous
#2C2298 #672298 #98228E
triadic
#672298 #986722 #229867
tetradic
#672298 #982C22 #539822 #228E98
square
#672298 #982C22 #539822 #228E98
split-complementary
#672298 #8E9822 #22982C
monochromatic
#230C34 #451766 #672298 #892DCA #A55ADA

Accessibility & contrast

On white

9.30
#672298 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672298
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672298#FFFFFF#000000##FFFFFF
##6722981.009.302.269.30
#FFFFFF9.301.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.301.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672298;
/* rgb */ color: rgb(103, 34, 152);
/* oklch */ color: oklch(42.1% 0.181 306.6);
Tailwind
colors: {
  custom: {
    50: '#9765b7',
    500: '#672298',
    950: '#000000',
  },
}
SCSS
$custom: #672298;
$custom-light: #9765b7;
$custom-dark: #000000;
JSON
{
  "hex": "#672298",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 152
  },
  "hsl": {
    "h": 275.085,
    "s": 63.441,
    "l": 36.471
  },
  "oklch": {
    "l": 0.4207,
    "c": 0.18061,
    "h": 306.6
  },
  "luminance": 0.06295
}

Semantic roles & 50–950 ramp

primary
#672298
secondary
#82BE57
accent
#E64186
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672298

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

Preview Lab → · Contrast checker → · Palette generator →

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