#604274#604274

#604274 is a dark, moderate violet. Relative luminance 0.076; OKLCH L 43.4% C 0.087 H 310.8°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#604274
RGBrgb(96, 66, 116)
HSLhsl(276, 27%, 36%)
HSVhsv(276, 43%, 45%)
CMYKcmyk(17.2%, 43.1%, 0%, 54.5%)
CIE-LABlab(33.23, 23.24, -23.80)
CIE-LCHlch(33.23, 33.27, 314.32°)
OKLaboklab(43.38% 0.0569 -0.0659)
OKLCHoklch(43.38% 0.087 310.8)
XYZxyz(9.9239, 7.6443, 17.4723)
Luminance0.0764 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#604274 #567442
analogous
#474274 #604274 #74426F
triadic
#604274 #746042 #427460
tetradic
#604274 #744742 #567442 #426F74
square
#604274 #744742 #567442 #426F74
split-complementary
#604274 #6F7442 #427447
monochromatic
#1F1626 #402C4D #604274 #80589B #9E7CB4

Accessibility & contrast

On white

8.30
#604274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.53
#604274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #604274
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##604274#FFFFFF#000000##FFFFFF
##6042741.008.302.538.30
#FFFFFF8.301.0021.001.00
#0000002.5321.001.0021.00
##FFFFFF8.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384D76
Deuteranopia (green-blind)
#3F4F73
Tritanopia (blue-blind)
#5E4955
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #604274;
/* rgb */ color: rgb(96, 66, 116);
/* oklch */ color: oklch(43.4% 0.087 310.8);
Tailwind
colors: {
  custom: {
    50: '#8e779c',
    500: '#604274',
    950: '#000000',
  },
}
SCSS
$custom: #604274;
$custom-light: #8e779c;
$custom-dark: #000000;
JSON
{
  "hex": "#604274",
  "rgb": {
    "r": 96,
    "g": 66,
    "b": 116
  },
  "hsl": {
    "h": 276,
    "s": 27.473,
    "l": 35.686
  },
  "oklch": {
    "l": 0.43381,
    "c": 0.08709,
    "h": 310.8
  },
  "luminance": 0.07644
}

Semantic roles & 50–950 ramp

primary
#604274
secondary
#84A072
accent
#C4648A
background
#F8F7F9
surface
#F0EDF2
border
#CBC8CC
text
#0C080E
muted
#7D7B7E

Preview Lab

Preview with #604274

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

Preview Lab → · Contrast checker → · Palette generator →

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