#462D7B#462D7B

#462D7B is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.2% C 0.127 H 294.1°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#462D7B
RGBrgb(70, 45, 123)
HSLhsl(259, 46%, 33%)
HSVhsv(259, 63%, 48%)
CMYKcmyk(43.1%, 63.4%, 0%, 51.8%)
CIE-LABlab(25.59, 30.70, -40.55)
CIE-LCHlch(25.59, 50.86, 307.13°)
OKLaboklab(37.16% 0.0518 -0.1156)
OKLCHoklch(37.16% 0.127 294.1)
XYZxyz(7.0384, 4.6087, 19.2538)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462D7B #627B2D
analogous
#2D3B7B #462D7B #6D2D7B
triadic
#462D7B #7B462D #2D7B46
tetradic
#462D7B #7B2D3B #627B2D #2D7B6D
square
#462D7B #7B2D3B #627B2D #2D7B6D
split-complementary
#462D7B #7B6D2D #3B7B2D
monochromatic
#130C21 #2C1D4E #462D7B #5F3DA8 #7F5EC4

Accessibility & contrast

On white

10.93
#462D7B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#462D7B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462D7B
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462D7B#FFFFFF#000000##FFFFFF
##462D7B1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003D7E
Deuteranopia (green-blind)
#003B79
Tritanopia (blue-blind)
#383E4F
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #462d7b;
/* rgb */ color: rgb(70, 45, 123);
/* oklch */ color: oklch(37.2% 0.127 294.1);
Tailwind
colors: {
  custom: {
    50: '#7e67a2',
    500: '#462d7b',
    950: '#000000',
  },
}
SCSS
$custom: #462d7b;
$custom-light: #7e67a2;
$custom-dark: #000000;
JSON
{
  "hex": "#462d7b",
  "rgb": {
    "r": 70,
    "g": 45,
    "b": 123
  },
  "hsl": {
    "h": 259.231,
    "s": 46.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.37161,
    "c": 0.12666,
    "h": 294.1
  },
  "luminance": 0.04609
}

Semantic roles & 50–950 ramp

primary
#462D7B
secondary
#90AB59
accent
#D652AC
background
#F7F6FA
surface
#EEEBF3
border
#C9C6CD
text
#0A060F
muted
#7C7A7F

Preview Lab

Preview with #462D7B

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

Preview Lab → · Contrast checker → · Palette generator →

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