#672283#672283

#672283 is a dark, vivid purple. Relative luminance 0.057; OKLCH L 40.4% C 0.160 H 314.2°. Best body text is #FFFFFF at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#672283
RGBrgb(103, 34, 131)
HSLhsl(283, 59%, 32%)
HSVhsv(283, 74%, 51%)
CMYKcmyk(21.4%, 74%, 0%, 48.6%)
CIE-LABlab(28.56, 46.03, -40.58)
CIE-LCHlch(28.56, 61.37, 318.60°)
OKLaboklab(40.45% 0.1113 -0.1144)
OKLCHoklch(40.45% 0.16 314.2)
XYZxyz(10.2616, 5.6667, 22.0216)
Luminance0.0567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#672283 #3E8322
analogous
#362283 #672283 #83226F
triadic
#672283 #836722 #228367
tetradic
#672283 #833622 #3E8322 #226F83
square
#672283 #833622 #3E8322 #226F83
split-complementary
#672283 #6F8322 #228336
monochromatic
#1B0922 #411552 #672283 #8D2FB4 #AB4ED1

Accessibility & contrast

On white

9.84
#672283 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#672283 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #672283
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##672283#FFFFFF#000000##FFFFFF
##6722831.009.842.139.84
#FFFFFF9.841.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004086
Deuteranopia (green-blind)
#1C4581
Tritanopia (blue-blind)
#643750
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #672283;
/* rgb */ color: rgb(103, 34, 131);
/* oklch */ color: oklch(40.4% 0.160 314.2);
Tailwind
colors: {
  custom: {
    50: '#9664a8',
    500: '#672283',
    950: '#000000',
  },
}
SCSS
$custom: #672283;
$custom-light: #9664a8;
$custom-dark: #000000;
JSON
{
  "hex": "#672283",
  "rgb": {
    "r": 103,
    "g": 34,
    "b": 131
  },
  "hsl": {
    "h": 282.68,
    "s": 58.788,
    "l": 32.353
  },
  "oklch": {
    "l": 0.40446,
    "c": 0.15966,
    "h": 314.2
  },
  "luminance": 0.05666
}

Semantic roles & 50–950 ramp

primary
#672283
secondary
#6AB44C
accent
#E24673
background
#F9F6FA
surface
#F2EBF4
border
#CCC6CE
text
#0E0610
muted
#7E7A7F

Preview Lab

Preview with #672283

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

Preview Lab → · Contrast checker → · Palette generator →

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