#462DAF#462DAF

#462DAF is a dark, vivid violet. Relative luminance 0.063; OKLCH L 41.8% C 0.193 H 283.0°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#462DAF
RGBrgb(70, 45, 175)
HSLhsl(252, 59%, 43%)
HSVhsv(252, 74%, 69%)
CMYKcmyk(60%, 74.3%, 0%, 31.4%)
CIE-LABlab(30.09, 46.46, -65.15)
CIE-LCHlch(30.09, 80.02, 305.49°)
OKLaboklab(41.78% 0.0434 -0.1878)
OKLCHoklch(41.78% 0.193 283)
XYZxyz(11.1996, 6.2733, 41.1698)
Luminance0.0627 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462DAF #96AF2D
analogous
#2D55AF #462DAF #872DAF
triadic
#462DAF #AF462D #2DAF46
tetradic
#462DAF #AF2D55 #96AF2D #2DAF87
square
#462DAF #AF2D55 #96AF2D #2DAF87
split-complementary
#462DAF #AF872D #55AF2D
monochromatic
#1F144E #33207E #462DAF #6349D0 #8D7ADD

Accessibility & contrast

On white

9.31
#462DAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#462DAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462DAF
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462DAF#FFFFFF#000000##FFFFFF
##462DAF1.009.312.259.31
#FFFFFF9.311.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004BB3
Deuteranopia (green-blind)
#0042AD
Tritanopia (blue-blind)
#00516C
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #462daf;
/* rgb */ color: rgb(70, 45, 175);
/* oklch */ color: oklch(41.8% 0.193 283.0);
Tailwind
colors: {
  custom: {
    50: '#8669c8',
    500: '#462daf',
    950: '#000000',
  },
}
SCSS
$custom: #462daf;
$custom-light: #8669c8;
$custom-dark: #000000;
JSON
{
  "hex": "#462daf",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 175
  },
  "hsl": {
    "h": 251.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.4178,
    "c": 0.19272,
    "h": 283
  },
  "luminance": 0.06274
}

Semantic roles & 50–950 ramp

primary
#462DAF
secondary
#B5C573
accent
#E246C4
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0613
muted
#7D7A82

Preview Lab

Preview with #462DAF

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

Preview Lab → · Contrast checker → · Palette generator →

#462DAF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva