#672994#672994

#672994 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.5% C 0.168 H 307.1°. Best body text is #FFFFFF at 9.05:1 contrast (WCAG AA passes).

Color values

HEX#672994
RGBrgb(103, 41, 148)
HSLhsl(275, 57%, 37%)
HSVhsv(275, 72%, 58%)
CMYKcmyk(30.4%, 72.3%, 0%, 42%)
CIE-LABlab(30.90, 46.80, -47.33)
CIE-LCHlch(30.90, 66.56, 314.68°)
OKLaboklab(42.51% 0.1015 -0.1343)
OKLCHoklch(42.51% 0.168 307.1)
XYZxyz(11.7306, 6.6077, 28.6687)
Luminance0.0661 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672994 #569429
analogous
#312994 #672994 #94298C
triadic
#672994 #946729 #299467
tetradic
#672994 #943129 #569429 #298C94
square
#672994 #943129 #569429 #298C94
split-complementary
#672994 #8C9429 #299431
monochromatic
#240E34 #461C64 #672994 #8836C4 #A563D4

Accessibility & contrast

On white

9.05
#672994 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#672994 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672994
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672994#FFFFFF#000000##FFFFFF
##6729941.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004797
Deuteranopia (green-blind)
#054992
Tritanopia (blue-blind)
#5F425C
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #672994;
/* rgb */ color: rgb(103, 41, 148);
/* oklch */ color: oklch(42.5% 0.168 307.1);
Tailwind
colors: {
  custom: {
    50: '#9768b4',
    500: '#672994',
    950: '#000000',
  },
}
SCSS
$custom: #672994;
$custom-light: #9768b4;
$custom-dark: #000000;
JSON
{
  "hex": "#672994",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 148
  },
  "hsl": {
    "h": 274.766,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.42505,
    "c": 0.16833,
    "h": 307.1
  },
  "luminance": 0.06608
}

Semantic roles & 50–950 ramp

primary
#672994
secondary
#85BA5F
accent
#E04888
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672994

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

Preview Lab → · Contrast checker → · Palette generator →

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