#462765#462765

#462765 is a dark, moderate violet. Relative luminance 0.037; OKLCH L 34.5% C 0.107 H 304.5°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).

Color values

HEX#462765
RGBrgb(70, 39, 101)
HSLhsl(270, 44%, 27%)
HSVhsv(270, 61%, 40%)
CMYKcmyk(30.7%, 61.4%, 0%, 60.4%)
CIE-LABlab(22.63, 28.06, -31.19)
CIE-LCHlch(22.63, 41.95, 311.97°)
OKLaboklab(34.49% 0.0604 -0.0881)
OKLCHoklch(34.49% 0.107 304.5)
XYZxyz(5.5998, 3.6927, 12.7272)
Luminance0.0369 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462765 #466527
analogous
#272765 #462765 #652765
triadic
#462765 #654627 #276546
tetradic
#462765 #652727 #466527 #276565
square
#462765 #652727 #466527 #276565
split-complementary
#462765 #656527 #276527
monochromatic
#0F0916 #271639 #462765 #653891 #834CBA

Accessibility & contrast

On white

12.08
#462765 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#462765 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462765
12.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462765#FFFFFF#000000##FFFFFF
##4627651.0012.081.7412.08
#FFFFFF12.081.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D3567
Deuteranopia (green-blind)
#1A3664
Tritanopia (blue-blind)
#413342
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462765;
/* rgb */ color: rgb(70, 39, 101);
/* oklch */ color: oklch(34.5% 0.107 304.5);
Tailwind
colors: {
  custom: {
    50: '#7c6391',
    500: '#462765',
    950: '#000000',
  },
}
SCSS
$custom: #462765;
$custom-light: #7c6391;
$custom-dark: #000000;
JSON
{
  "hex": "#462765",
  "rgb": {
    "r": 70,
    "g": 39,
    "b": 101
  },
  "hsl": {
    "h": 270,
    "s": 44.286,
    "l": 27.451
  },
  "oklch": {
    "l": 0.34492,
    "c": 0.10679,
    "h": 304.5
  },
  "luminance": 0.03693
}

Semantic roles & 50–950 ramp

primary
#462765
secondary
#749850
accent
#D45494
background
#F7F5F8
surface
#EEEAF0
border
#C9C6CB
text
#0A050D
muted
#7C797D

Preview Lab

Preview with #462765

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

Preview Lab → · Contrast checker → · Palette generator →

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