#462289#462289

#462289 is a dark, vivid violet. Relative luminance 0.043; OKLCH L 36.7% C 0.159 H 292.8°. Best body text is #FFFFFF at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#462289
RGBrgb(70, 34, 137)
HSLhsl(261, 60%, 34%)
HSVhsv(261, 75%, 54%)
CMYKcmyk(48.9%, 75.2%, 0%, 46.3%)
CIE-LABlab(24.49, 41.00, -51.14)
CIE-LCHlch(24.49, 65.55, 308.72°)
OKLaboklab(36.73% 0.0616 -0.1467)
OKLCHoklch(36.73% 0.159 292.8)
XYZxyz(7.6119, 4.2520, 24.0817)
Luminance0.0425 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462289 #658922
analogous
#223189 #462289 #792289
triadic
#462289 #894622 #228946
tetradic
#462289 #892231 #658922 #228979
square
#462289 #892231 #658922 #228979
split-complementary
#462289 #897922 #318922
monochromatic
#140A27 #2D1658 #462289 #5F2EBA #7F51D4

Accessibility & contrast

On white

11.35
#462289 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#462289 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462289
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462289#FFFFFF#000000##FFFFFF
##4622891.0011.351.8511.35
#FFFFFF11.351.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003B8C
Deuteranopia (green-blind)
#003887
Tritanopia (blue-blind)
#313D53
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #462289;
/* rgb */ color: rgb(70, 34, 137);
/* oklch */ color: oklch(36.7% 0.159 292.8);
Tailwind
colors: {
  custom: {
    50: '#8161ac',
    500: '#462289',
    950: '#000000',
  },
}
SCSS
$custom: #462289;
$custom-light: #8161ac;
$custom-dark: #000000;
JSON
{
  "hex": "#462289",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 137
  },
  "hsl": {
    "h": 260.971,
    "s": 60.234,
    "l": 33.529
  },
  "oklch": {
    "l": 0.36733,
    "c": 0.15909,
    "h": 292.8
  },
  "luminance": 0.04252
}

Semantic roles & 50–950 ramp

primary
#462289
secondary
#93B84F
accent
#E344AC
background
#F8F5FA
surface
#EFEAF4
border
#CAC6CE
text
#0B0510
muted
#7C797F

Preview Lab

Preview with #462289

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

Preview Lab → · Contrast checker → · Palette generator →

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