#423279#423279

#423279 is a dark, moderate violet. Relative luminance 0.048; OKLCH L 37.5% C 0.116 H 290.0°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#423279
RGBrgb(66, 50, 121)
HSLhsl(254, 42%, 34%)
HSVhsv(254, 59%, 47%)
CMYKcmyk(45.5%, 58.7%, 0%, 52.5%)
CIE-LABlab(26.21, 25.99, -38.30)
CIE-LCHlch(26.21, 46.28, 304.16°)
OKLaboklab(37.47% 0.0397 -0.1091)
OKLCHoklch(37.47% 0.116 290)
XYZxyz(6.8376, 4.8197, 18.6555)
Luminance0.0482 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423279 #697932
analogous
#324579 #423279 #653279
triadic
#423279 #794232 #327942
tetradic
#423279 #793245 #697932 #327965
square
#423279 #793245 #697932 #327965
split-complementary
#423279 #796532 #457932
monochromatic
#130E22 #2A204E #423279 #5A44A4 #7A66C0

Accessibility & contrast

On white

10.69
#423279 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#423279 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423279
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423279#FFFFFF#000000##FFFFFF
##4232791.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#093F7B
Deuteranopia (green-blind)
#0D3C77
Tritanopia (blue-blind)
#324150
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #423279;
/* rgb */ color: rgb(66, 50, 121);
/* oklch */ color: oklch(37.5% 0.116 290.0);
Tailwind
colors: {
  custom: {
    50: '#7b6aa0',
    500: '#423279',
    950: '#000000',
  },
}
SCSS
$custom: #423279;
$custom-light: #7b6aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#423279",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 121
  },
  "hsl": {
    "h": 253.521,
    "s": 41.52,
    "l": 33.529
  },
  "oklch": {
    "l": 0.37472,
    "c": 0.11609,
    "h": 290
  },
  "luminance": 0.0482
}

Semantic roles & 50–950 ramp

primary
#423279
secondary
#97A75F
accent
#D156B6
background
#F7F6F9
surface
#EEEBF2
border
#C9C6CC
text
#0A060F
muted
#7C7A7E

Preview Lab

Preview with #423279

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

Preview Lab → · Contrast checker → · Palette generator →

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