#672FA5#672FA5

#672FA5 is a dark, vivid violet. Relative luminance 0.076; OKLCH L 44.6% C 0.179 H 301.0°. Best body text is #FFFFFF at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#672FA5
RGBrgb(103, 47, 165)
HSLhsl(268, 56%, 42%)
HSVhsv(268, 72%, 65%)
CMYKcmyk(37.6%, 71.5%, 0%, 35.3%)
CIE-LABlab(33.21, 48.13, -53.91)
CIE-LCHlch(33.21, 72.27, 311.76°)
OKLaboklab(44.56% 0.0923 -0.1537)
OKLCHoklch(44.56% 0.179 301)
XYZxyz(13.3999, 7.6331, 36.3574)
Luminance0.0763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672FA5 #6DA52F
analogous
#2F32A5 #672FA5 #A22FA5
triadic
#672FA5 #A5672F #2FA567
tetradic
#672FA5 #A52F32 #6DA52F #2FA5A2
square
#672FA5 #A52F32 #6DA52F #2FA5A2
split-complementary
#672FA5 #A5A22F #32A52F
monochromatic
#2C1446 #492175 #672FA5 #8547CB #A576D8

Accessibility & contrast

On white

8.31
#672FA5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#672FA5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672FA5
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672FA5#FFFFFF#000000##FFFFFF
##672FA51.008.312.538.31
#FFFFFF8.311.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EA8
Deuteranopia (green-blind)
#004DA3
Tritanopia (blue-blind)
#594C67
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #672fa5;
/* rgb */ color: rgb(103, 47, 165);
/* oklch */ color: oklch(44.6% 0.179 301.0);
Tailwind
colors: {
  custom: {
    50: '#986cc1',
    500: '#672fa5',
    950: '#000000',
  },
}
SCSS
$custom: #672fa5;
$custom-light: #986cc1;
$custom-dark: #000000;
JSON
{
  "hex": "#672fa5",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 268.475,
    "s": 55.66,
    "l": 41.569
  },
  "oklch": {
    "l": 0.44557,
    "c": 0.17929,
    "h": 301
  },
  "luminance": 0.07633
}

Semantic roles & 50–950 ramp

primary
#672FA5
secondary
#9AC070
accent
#DF4998
background
#F9F6FB
surface
#F2ECF7
border
#CCC7D0
text
#0E0712
muted
#7E7A81

Preview Lab

Preview with #672FA5

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

Preview Lab → · Contrast checker → · Palette generator →

#672FA5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva