#462FAF#462FAF

#462FAF is a dark, vivid violet. Relative luminance 0.064; OKLCH L 42.0% C 0.191 H 282.7°. Best body text is #FFFFFF at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#462FAF
RGBrgb(70, 47, 175)
HSLhsl(251, 58%, 44%)
HSVhsv(251, 73%, 69%)
CMYKcmyk(60%, 73.1%, 0%, 31.4%)
CIE-LABlab(30.47, 45.39, -64.53)
CIE-LCHlch(30.47, 78.89, 305.12°)
OKLaboklab(42.05% 0.0419 -0.186)
OKLCHoklch(42.05% 0.191 282.7)
XYZxyz(11.2778, 6.4295, 41.1959)
Luminance0.0643 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FAF #98AF2F
analogous
#2F58AF #462FAF #862FAF
triadic
#462FAF #AF462F #2FAF46
tetradic
#462FAF #AF2F58 #98AF2F #2FAF86
square
#462FAF #AF2F58 #98AF2F #2FAF86
split-complementary
#462FAF #AF862F #58AF2F
monochromatic
#1F154F #33227F #462FAF #644CCF #8E7CDC

Accessibility & contrast

On white

9.19
#462FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#462FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FAF
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FAF#FFFFFF#000000##FFFFFF
##462FAF1.009.192.299.19
#FFFFFF9.191.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004CB3
Deuteranopia (green-blind)
#0043AD
Tritanopia (blue-blind)
#00526C
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #462faf;
/* rgb */ color: rgb(70, 47, 175);
/* oklch */ color: oklch(42.0% 0.191 282.7);
Tailwind
colors: {
  custom: {
    50: '#866ac8',
    500: '#462faf',
    950: '#000000',
  },
}
SCSS
$custom: #462faf;
$custom-light: #866ac8;
$custom-dark: #000000;
JSON
{
  "hex": "#462faf",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 250.781,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.42048,
    "c": 0.19063,
    "h": 282.7
  },
  "luminance": 0.0643
}

Semantic roles & 50–950 ramp

primary
#462FAF
secondary
#B6C475
accent
#E147C5
background
#F8F6FC
surface
#F0EBF8
border
#CBC6D1
text
#0C0713
muted
#7D7A82

Preview Lab

Preview with #462FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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