#672391#672391

#672391 is a dark, vivid violet. Relative luminance 0.061; OKLCH L 41.6% C 0.172 H 308.8°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).

Color values

HEX#672391
RGBrgb(103, 35, 145)
HSLhsl(277, 61%, 35%)
HSVhsv(277, 76%, 57%)
CMYKcmyk(29%, 75.9%, 0%, 43.1%)
CIE-LABlab(29.74, 48.74, -47.36)
CIE-LCHlch(29.74, 67.96, 315.82°)
OKLaboklab(41.61% 0.1081 -0.1344)
OKLCHoklch(41.61% 0.172 308.8)
XYZxyz(11.3043, 6.1302, 27.3703)
Luminance0.0613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672391 #4D9123
analogous
#302391 #672391 #912384
triadic
#672391 #916723 #239167
tetradic
#672391 #913023 #4D9123 #238491
square
#672391 #913023 #4D9123 #238491
split-complementary
#672391 #849123 #239130
monochromatic
#210B2E #441760 #672391 #8A2FC2 #A658D7

Accessibility & contrast

On white

9.43
#672391 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#672391 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672391
9.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672391#FFFFFF#000000##FFFFFF
##6723911.009.432.239.43
#FFFFFF9.431.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004394
Deuteranopia (green-blind)
#00478F
Tritanopia (blue-blind)
#613D58
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #672391;
/* rgb */ color: rgb(103, 35, 145);
/* oklch */ color: oklch(41.6% 0.172 308.8);
Tailwind
colors: {
  custom: {
    50: '#9765b2',
    500: '#672391',
    950: '#000000',
  },
}
SCSS
$custom: #672391;
$custom-light: #9765b2;
$custom-dark: #000000;
JSON
{
  "hex": "#672391",
  "rgb": {
    "r": 103,
    "g": 35,
    "b": 145
  },
  "hsl": {
    "h": 277.091,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.41612,
    "c": 0.17247,
    "h": 308.8
  },
  "luminance": 0.0613
}

Semantic roles & 50–950 ramp

primary
#672391
secondary
#7CBB55
accent
#E44481
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672391

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

Preview Lab → · Contrast checker → · Palette generator →

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