#672495#672495

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

Color values

HEX#672495
RGBrgb(103, 36, 149)
HSLhsl(276, 61%, 36%)
HSVhsv(276, 76%, 58%)
CMYKcmyk(30.9%, 75.8%, 0%, 41.6%)
CIE-LABlab(30.19, 49.24, -49.08)
CIE-LCHlch(30.19, 69.53, 315.09°)
OKLaboklab(42.03% 0.1064 -0.1394)
OKLCHoklch(42.03% 0.175 307.3)
XYZxyz(11.6481, 6.3154, 29.0333)
Luminance0.0631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672495 #529524
analogous
#2F2495 #672495 #95248B
triadic
#672495 #956724 #249567
tetradic
#672495 #952F24 #529524 #248B95
square
#672495 #952F24 #529524 #248B95
split-complementary
#672495 #8B9524 #24952F
monochromatic
#230C32 #451864 #672495 #8930C6 #A55CD8

Accessibility & contrast

On white

9.28
#672495 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #672495
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672495#FFFFFF#000000##FFFFFF
##6724951.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004598
Deuteranopia (green-blind)
#004893
Tritanopia (blue-blind)
#5F3F5B
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #672495;
/* rgb */ color: rgb(103, 36, 149);
/* oklch */ color: oklch(42.0% 0.175 307.3);
Tailwind
colors: {
  custom: {
    50: '#9766b5',
    500: '#672495',
    950: '#000000',
  },
}
SCSS
$custom: #672495;
$custom-light: #9766b5;
$custom-dark: #000000;
JSON
{
  "hex": "#672495",
  "rgb": {
    "r": 103,
    "g": 36,
    "b": 149
  },
  "hsl": {
    "h": 275.575,
    "s": 61.081,
    "l": 36.275
  },
  "oklch": {
    "l": 0.42031,
    "c": 0.17537,
    "h": 307.3
  },
  "luminance": 0.06315
}

Semantic roles & 50–950 ramp

primary
#672495
secondary
#81BC59
accent
#E44485
background
#F9F6FB
surface
#F2EBF6
border
#CCC6D0
text
#0E0611
muted
#7E7A80

Preview Lab

Preview with #672495

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

Preview Lab → · Contrast checker → · Palette generator →

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