#462388#462388

#462388 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.8% C 0.157 H 292.9°. Best body text is #FFFFFF at 11.31:1 contrast (WCAG AA passes).

Color values

HEX#462388
RGBrgb(70, 35, 136)
HSLhsl(261, 59%, 34%)
HSVhsv(261, 74%, 53%)
CMYKcmyk(48.5%, 74.3%, 0%, 46.7%)
CIE-LABlab(24.58, 40.20, -50.37)
CIE-LCHlch(24.58, 64.44, 308.60°)
OKLaboklab(36.77% 0.0609 -0.1444)
OKLCHoklch(36.77% 0.157 292.9)
XYZxyz(7.5695, 4.2815, 23.7154)
Luminance0.0428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462388 #658823
analogous
#233288 #462388 #782388
triadic
#462388 #884623 #238846
tetradic
#462388 #882332 #658823 #238878
square
#462388 #882332 #658823 #238878
split-complementary
#462388 #887823 #328823
monochromatic
#140A27 #2D1657 #462388 #5F30B9 #7F53D3

Accessibility & contrast

On white

11.31
#462388 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #462388
11.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462388#FFFFFF#000000##FFFFFF
##4623881.0011.311.8611.31
#FFFFFF11.311.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003C8B
Deuteranopia (green-blind)
#003886
Tritanopia (blue-blind)
#323D53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462388;
/* rgb */ color: rgb(70, 35, 136);
/* oklch */ color: oklch(36.8% 0.157 292.9);
Tailwind
colors: {
  custom: {
    50: '#8061ac',
    500: '#462388',
    950: '#000000',
  },
}
SCSS
$custom: #462388;
$custom-light: #8061ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462388",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 136
  },
  "hsl": {
    "h": 260.792,
    "s": 59.064,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36771,
    "c": 0.15672,
    "h": 292.9
  },
  "luminance": 0.04282
}

Semantic roles & 50–950 ramp

primary
#462388
secondary
#93B750
accent
#E246AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462388

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

Preview Lab → · Contrast checker → · Palette generator →

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