#672FAB#672FAB

#672FAB is a mid, vivid violet. Relative luminance 0.079; OKLCH L 45.0% C 0.186 H 299.4°. Best body text is #FFFFFF at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#672FAB
RGBrgb(103, 47, 171)
HSLhsl(267, 57%, 43%)
HSVhsv(267, 73%, 67%)
CMYKcmyk(39.8%, 72.5%, 0%, 32.9%)
CIE-LABlab(33.68, 49.65, -56.74)
CIE-LCHlch(33.68, 75.40, 311.19°)
OKLaboklab(45.04% 0.0912 -0.162)
OKLCHoklch(45.04% 0.186 299.4)
XYZxyz(13.9589, 7.8567, 39.3013)
Luminance0.0786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672FAB #73AB2F
analogous
#2F35AB #672FAB #A52FAB
triadic
#672FAB #AB672F #2FAB67
tetradic
#672FAB #AB2F35 #73AB2F #2FABA5
square
#672FAB #AB2F35 #73AB2F #2FABA5
split-complementary
#672FAB #ABA52F #35AB2F
monochromatic
#2D154B #4A227B #672FAB #854ACD #A67ADA

Accessibility & contrast

On white

8.17
#672FAB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#672FAB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672FAB
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672FAB#FFFFFF#000000##FFFFFF
##672FAB1.008.172.578.17
#FFFFFF8.171.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAF
Deuteranopia (green-blind)
#004EA9
Tritanopia (blue-blind)
#574E6A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #672fab;
/* rgb */ color: rgb(103, 47, 171);
/* oklch */ color: oklch(45.0% 0.186 299.4);
Tailwind
colors: {
  custom: {
    50: '#986dc5',
    500: '#672fab',
    950: '#000000',
  },
}
SCSS
$custom: #672fab;
$custom-light: #986dc5;
$custom-dark: #000000;
JSON
{
  "hex": "#672fab",
  "rgb": {
    "r": 103,
    "g": 47,
    "b": 171
  },
  "hsl": {
    "h": 267.097,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.45043,
    "c": 0.18591,
    "h": 299.4
  },
  "luminance": 0.07857
}

Semantic roles & 50–950 ramp

primary
#672FAB
secondary
#9FC373
accent
#E0489B
background
#F9F6FC
surface
#F2ECF8
border
#CCC7D1
text
#0E0713
muted
#7E7A82

Preview Lab

Preview with #672FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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