#423262#423262

#423262 is a dark, moderate violet. Relative luminance 0.043; OKLCH L 35.9% C 0.082 H 297.5°. Best body text is #FFFFFF at 11.26:1 contrast (WCAG AA passes).

Color values

HEX#423262
RGBrgb(66, 50, 98)
HSLhsl(260, 32%, 29%)
HSVhsv(260, 49%, 38%)
CMYKcmyk(32.7%, 49%, 0%, 61.6%)
CIE-LABlab(24.71, 19.00, -25.95)
CIE-LCHlch(24.71, 32.17, 306.21°)
OKLaboklab(35.86% 0.0379 -0.0729)
OKLCHoklch(35.86% 0.082 297.5)
XYZxyz(5.5914, 4.3212, 12.0924)
Luminance0.0432 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423262 #526232
analogous
#323A62 #423262 #5A3262
triadic
#423262 #624232 #326242
tetradic
#423262 #62323A #526232 #32625A
square
#423262 #62323A #526232 #32625A
split-complementary
#423262 #625A32 #3A6232
monochromatic
#0E0A14 #271D39 #423262 #5D478B #7A60AE

Accessibility & contrast

On white

11.26
#423262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#423262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423262
11.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423262#FFFFFF#000000##FFFFFF
##4232621.0011.261.8611.26
#FFFFFF11.261.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#233B64
Deuteranopia (green-blind)
#263A61
Tritanopia (blue-blind)
#3B3B45
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #423262;
/* rgb */ color: rgb(66, 50, 98);
/* oklch */ color: oklch(35.9% 0.082 297.5);
Tailwind
colors: {
  custom: {
    50: '#786a8f',
    500: '#423262',
    950: '#000000',
  },
}
SCSS
$custom: #423262;
$custom-light: #786a8f;
$custom-dark: #000000;
JSON
{
  "hex": "#423262",
  "rgb": {
    "r": 66,
    "g": 50,
    "b": 98
  },
  "hsl": {
    "h": 260,
    "s": 32.432,
    "l": 29.02
  },
  "oklch": {
    "l": 0.35862,
    "c": 0.08215,
    "h": 297.5
  },
  "luminance": 0.04321
}

Semantic roles & 50–950 ramp

primary
#423262
secondary
#81935D
accent
#C95FA5
background
#F7F6F8
surface
#EDEBF0
border
#C8C6CB
text
#09060C
muted
#7B7A7D

Preview Lab

Preview with #423262

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

Preview Lab → · Contrast checker → · Palette generator →

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