#672995#672995

#672995 is a dark, vivid violet. Relative luminance 0.066; OKLCH L 42.6% C 0.169 H 306.7°. Best body text is #FFFFFF at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#672995
RGBrgb(103, 41, 149)
HSLhsl(274, 57%, 37%)
HSVhsv(274, 72%, 58%)
CMYKcmyk(30.9%, 72.5%, 0%, 41.6%)
CIE-LABlab(30.97, 47.04, -47.82)
CIE-LCHlch(30.97, 67.08, 314.53°)
OKLaboklab(42.58% 0.1013 -0.1358)
OKLCHoklch(42.58% 0.169 306.7)
XYZxyz(11.8101, 6.6395, 29.0873)
Luminance0.0664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672995 #579529
analogous
#312995 #672995 #95298D
triadic
#672995 #956729 #299567
tetradic
#672995 #953129 #579529 #298D95
square
#672995 #953129 #579529 #298D95
split-complementary
#672995 #8D9529 #299531
monochromatic
#250F35 #461C65 #672995 #8836C5 #A564D4

Accessibility & contrast

On white

9.02
#672995 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#672995 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672995
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672995#FFFFFF#000000##FFFFFF
##6729951.009.022.339.02
#FFFFFF9.021.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #672995;
/* rgb */ color: rgb(103, 41, 149);
/* oklch */ color: oklch(42.6% 0.169 306.7);
Tailwind
colors: {
  custom: {
    50: '#9768b5',
    500: '#672995',
    950: '#000000',
  },
}
SCSS
$custom: #672995;
$custom-light: #9768b5;
$custom-dark: #000000;
JSON
{
  "hex": "#672995",
  "rgb": {
    "r": 103,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 274.444,
    "s": 56.842,
    "l": 37.255
  },
  "oklch": {
    "l": 0.42582,
    "c": 0.16939,
    "h": 306.7
  },
  "luminance": 0.06639
}

Semantic roles & 50–950 ramp

primary
#672995
secondary
#86BA60
accent
#E04889
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672995

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

Preview Lab → · Contrast checker → · Palette generator →

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