#462362#462362

#462362 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.6% C 0.110 H 307.1°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#462362
RGBrgb(70, 35, 98)
HSLhsl(273, 47%, 26%)
HSVhsv(273, 64%, 38%)
CMYKcmyk(28.6%, 64.3%, 0%, 61.6%)
CIE-LABlab(21.53, 29.63, -30.99)
CIE-LCHlch(21.53, 42.88, 313.72°)
OKLaboklab(33.62% 0.0661 -0.0875)
OKLCHoklch(33.62% 0.11 307.1)
XYZxyz(5.3310, 3.3861, 11.9256)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462362 #3F6223
analogous
#262362 #462362 #62235E
triadic
#462362 #624623 #236246
tetradic
#462362 #622623 #3F6223 #235E62
square
#462362 #622623 #3F6223 #235E62
split-complementary
#462362 #5E6223 #236226
monochromatic
#100817 #261335 #462362 #66338F #8643BC

Accessibility & contrast

On white

12.52
#462362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#462362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462362
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462362#FFFFFF#000000##FFFFFF
##4623621.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#073264
Deuteranopia (green-blind)
#183461
Tritanopia (blue-blind)
#422F3F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #462362;
/* rgb */ color: rgb(70, 35, 98);
/* oklch */ color: oklch(33.6% 0.110 307.1);
Tailwind
colors: {
  custom: {
    50: '#7c608f',
    500: '#462362',
    950: '#000000',
  },
}
SCSS
$custom: #462362;
$custom-light: #7c608f;
$custom-dark: #000000;
JSON
{
  "hex": "#462362",
  "rgb": {
    "r": 70,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 273.333,
    "s": 47.368,
    "l": 26.078
  },
  "oklch": {
    "l": 0.33622,
    "c": 0.10963,
    "h": 307.1
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#462362
secondary
#6C964B
accent
#D7518C
background
#F7F5F8
surface
#EEE9F0
border
#C9C5CB
text
#0A050C
muted
#7C797D

Preview Lab

Preview with #462362

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

Preview Lab → · Contrast checker → · Palette generator →

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