#423097#423097

#423097 is a dark, vivid violet. Relative luminance 0.055; OKLCH L 39.6% C 0.160 H 284.4°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#423097
RGBrgb(66, 48, 151)
HSLhsl(250, 52%, 39%)
HSVhsv(250, 68%, 59%)
CMYKcmyk(56.3%, 68.2%, 0%, 40.8%)
CIE-LABlab(28.13, 36.73, -53.86)
CIE-LCHlch(28.13, 65.19, 304.29°)
OKLaboklab(39.62% 0.0398 -0.1548)
OKLCHoklch(39.62% 0.16 284.4)
XYZxyz(8.8879, 5.5060, 29.8666)
Luminance0.0551 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#423097 #859730
analogous
#305297 #423097 #763097
triadic
#423097 #974230 #309742
tetradic
#423097 #973052 #859730 #309776
square
#423097 #973052 #859730 #309776
split-complementary
#423097 #977630 #529730
monochromatic
#19123A #2E2169 #423097 #5841C3 #8170D2

Accessibility & contrast

On white

9.99
#423097 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#423097 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #423097
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##423097#FFFFFF#000000##FFFFFF
##4230971.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00459A
Deuteranopia (green-blind)
#003F95
Tritanopia (blue-blind)
#1B4A5F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #423097;
/* rgb */ color: rgb(66, 48, 151);
/* oklch */ color: oklch(39.6% 0.160 284.4);
Tailwind
colors: {
  custom: {
    50: '#7f6ab6',
    500: '#423097',
    950: '#000000',
  },
}
SCSS
$custom: #423097;
$custom-light: #7f6ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#423097",
  "rgb": {
    "r": 66,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 250.485,
    "s": 51.759,
    "l": 39.02
  },
  "oklch": {
    "l": 0.39618,
    "c": 0.15986,
    "h": 284.4
  },
  "luminance": 0.05507
}

Semantic roles & 50–950 ramp

primary
#423097
secondary
#ABB96A
accent
#DB4DC2
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0611
muted
#7C7A80

Preview Lab

Preview with #423097

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

Preview Lab → · Contrast checker → · Palette generator →

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