#423274#423274

#423274 is a dark, moderate violet. Relative luminance 0.047; OKLCH L 37.1% C 0.109 H 291.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#423274
RGBrgb(66, 50, 116)
HSLhsl(255, 40%, 33%)
HSVhsv(255, 57%, 45%)
CMYKcmyk(43.1%, 56.9%, 0%, 54.5%)
CIE-LABlab(25.86, 24.43, -35.69)
CIE-LCHlch(25.86, 43.25, 304.39°)
OKLaboklab(37.1% 0.0396 -0.1014)
OKLCHoklch(37.1% 0.109 291.3)
XYZxyz(6.5389, 4.7002, 17.0823)
Luminance0.0470 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423274 #647432
analogous
#324374 #423274 #633274
triadic
#423274 #744232 #327442
tetradic
#423274 #743243 #647432 #327463
square
#423274 #743243 #647432 #327463
split-complementary
#423274 #746332 #437432
monochromatic
#110D1E #2A2049 #423274 #5A449F #7A64BC

Accessibility & contrast

On white

10.82
#423274 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.94
#423274 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423274
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423274#FFFFFF#000000##FFFFFF
##4232741.0010.821.9410.82
#FFFFFF10.821.0021.001.00
#0000001.9421.001.0021.00
##FFFFFF10.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#123E76
Deuteranopia (green-blind)
#153C73
Tritanopia (blue-blind)
#34404E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #423274;
/* rgb */ color: rgb(66, 50, 116);
/* oklch */ color: oklch(37.1% 0.109 291.3);
Tailwind
colors: {
  custom: {
    50: '#7a6a9c',
    500: '#423274',
    950: '#000000',
  },
}
SCSS
$custom: #423274;
$custom-light: #7a6a9c;
$custom-dark: #000000;
JSON
{
  "hex": "#423274",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 116
  },
  "hsl": {
    "h": 254.545,
    "s": 39.759,
    "l": 32.549
  },
  "oklch": {
    "l": 0.37099,
    "c": 0.10888,
    "h": 291.3
  },
  "luminance": 0.047
}

Semantic roles & 50–950 ramp

primary
#423274
secondary
#93A45E
accent
#D058B3
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#09060E
muted
#7B7A7E

Preview Lab

Preview with #423274

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

Preview Lab → · Contrast checker → · Palette generator →

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