#672396#672396

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

Color values

HEX#672396
RGBrgb(103, 35, 150)
HSLhsl(275, 62%, 36%)
HSVhsv(275, 77%, 59%)
CMYKcmyk(31.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(30.13, 49.89, -49.81)
CIE-LCHlch(30.13, 70.49, 315.05°)
OKLaboklab(42.01% 0.1071 -0.1415)
OKLCHoklch(42.01% 0.178 307.1)
XYZxyz(11.6984, 6.2878, 29.4456)
Luminance0.0629 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672396 #529623
analogous
#2E2396 #672396 #96238C
triadic
#672396 #966723 #239667
tetradic
#672396 #962E23 #529623 #238C96
square
#672396 #962E23 #529623 #238C96
split-complementary
#672396 #8C9623 #23962E
monochromatic
#230C33 #451764 #672396 #892FC8 #A55BD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##672396#FFFFFF#000000##FFFFFF
##6723961.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)
#004599
Deuteranopia (green-blind)
#004794
Tritanopia (blue-blind)
#5F3F5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672396;
/* rgb */ color: rgb(103, 35, 150);
/* oklch */ color: oklch(42.0% 0.178 307.1);
Tailwind
colors: {
  custom: {
    50: '#9765b6',
    500: '#672396',
    950: '#000000',
  },
}
SCSS
$custom: #672396;
$custom-light: #9765b6;
$custom-dark: #000000;
JSON
{
  "hex": "#672396",
  "rgb": {
    "r": 103,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 275.478,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42008,
    "c": 0.17751,
    "h": 307.1
  },
  "luminance": 0.06288
}

Semantic roles & 50–950 ramp

primary
#672396
secondary
#81BD58
accent
#E54385
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672396

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

Preview Lab → · Contrast checker → · Palette generator →

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