#423174#423174

#423174 is a dark, moderate violet. Relative luminance 0.046; OKLCH L 36.9% C 0.110 H 291.8°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#423174
RGBrgb(66, 49, 116)
HSLhsl(255, 41%, 32%)
HSVhsv(255, 58%, 45%)
CMYKcmyk(43.1%, 57.8%, 0%, 54.5%)
CIE-LABlab(25.61, 25.08, -36.10)
CIE-LCHlch(25.61, 43.95, 304.79°)
OKLaboklab(36.91% 0.041 -0.1026)
OKLCHoklch(36.91% 0.11 291.8)
XYZxyz(6.4966, 4.6156, 17.0682)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423174 #637431
analogous
#314274 #423174 #643174
triadic
#423174 #744231 #317442
tetradic
#423174 #743142 #637431 #317464
square
#423174 #743142 #637431 #317464
split-complementary
#423174 #746431 #427431
monochromatic
#110D1E #2A1F49 #423174 #5A439F #7963BD

Accessibility & contrast

On white

10.92
#423174 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#423174 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423174
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423174#FFFFFF#000000##FFFFFF
##4231741.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F3E76
Deuteranopia (green-blind)
#133B73
Tritanopia (blue-blind)
#343F4D
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #423174;
/* rgb */ color: rgb(66, 49, 116);
/* oklch */ color: oklch(36.9% 0.110 291.8);
Tailwind
colors: {
  custom: {
    50: '#7a699c',
    500: '#423174',
    950: '#000000',
  },
}
SCSS
$custom: #423174;
$custom-light: #7a699c;
$custom-dark: #000000;
JSON
{
  "hex": "#423174",
  "rgb": {
    "r": 66,
    "g": 49,
    "b": 116
  },
  "hsl": {
    "h": 255.224,
    "s": 40.606,
    "l": 32.353
  },
  "oklch": {
    "l": 0.36912,
    "c": 0.11049,
    "h": 291.8
  },
  "luminance": 0.04616
}

Semantic roles & 50–950 ramp

primary
#423174
secondary
#92A45C
accent
#D057B2
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #423174

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

Preview Lab → · Contrast checker → · Palette generator →

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