#462396#462396

#462396 is a dark, vivid violet. Relative luminance 0.047; OKLCH L 38.1% C 0.173 H 289.3°. Best body text is #FFFFFF at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#462396
RGBrgb(70, 35, 150)
HSLhsl(258, 62%, 36%)
HSVhsv(258, 77%, 59%)
CMYKcmyk(53.3%, 76.7%, 0%, 41.2%)
CIE-LABlab(25.88, 44.22, -56.92)
CIE-LCHlch(25.88, 72.07, 307.84°)
OKLaboklab(38.09% 0.0574 -0.1636)
OKLCHoklch(38.09% 0.173 289.3)
XYZxyz(8.6302, 4.7058, 29.3018)
Luminance0.0471 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462396 #739623
analogous
#233A96 #462396 #802396
triadic
#462396 #964623 #239646
tetradic
#462396 #96233A #739623 #239680
square
#462396 #96233A #739623 #239680
split-complementary
#462396 #968023 #3A9623
monochromatic
#180C33 #2F1764 #462396 #5D2FC8 #815BD9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##462396#FFFFFF#000000##FFFFFF
##4623961.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)
#004099
Deuteranopia (green-blind)
#003A94
Tritanopia (blue-blind)
#28435B
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462396;
/* rgb */ color: rgb(70, 35, 150);
/* oklch */ color: oklch(38.1% 0.173 289.3);
Tailwind
colors: {
  custom: {
    50: '#8262b6',
    500: '#462396',
    950: '#000000',
  },
}
SCSS
$custom: #462396;
$custom-light: #8262b6;
$custom-dark: #000000;
JSON
{
  "hex": "#462396",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 150
  },
  "hsl": {
    "h": 258.261,
    "s": 62.162,
    "l": 36.275
  },
  "oklch": {
    "l": 0.38085,
    "c": 0.17338,
    "h": 289.3
  },
  "luminance": 0.04706
}

Semantic roles & 50–950 ramp

primary
#462396
secondary
#9EBD58
accent
#E543B4
background
#F8F6FB
surface
#F0EBF6
border
#CBC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #462396

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

Preview Lab → · Contrast checker → · Palette generator →

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