#462165#462165

#462165 is a dark, moderate violet. Relative luminance 0.033; OKLCH L 33.5% C 0.117 H 306.1°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#462165
RGBrgb(70, 33, 101)
HSLhsl(273, 51%, 26%)
HSVhsv(273, 67%, 40%)
CMYKcmyk(30.7%, 67.3%, 0%, 60.4%)
CIE-LABlab(21.32, 31.58, -33.29)
CIE-LCHlch(21.32, 45.89, 313.49°)
OKLaboklab(33.54% 0.0687 -0.0942)
OKLCHoklch(33.54% 0.117 306.1)
XYZxyz(5.4181, 3.3294, 12.6666)
Luminance0.0333 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462165 #406521
analogous
#242165 #462165 #652162
triadic
#462165 #654621 #216546
tetradic
#462165 #652421 #406521 #216265
square
#462165 #652421 #406521 #216265
split-complementary
#462165 #626521 #216524
monochromatic
#100817 #261237 #462165 #663093 #8640C1

Accessibility & contrast

On white

12.61
#462165 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#462165 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462165
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462165#FFFFFF#000000##FFFFFF
##4621651.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003267
Deuteranopia (green-blind)
#123363
Tritanopia (blue-blind)
#412F3F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #462165;
/* rgb */ color: rgb(70, 33, 101);
/* oklch */ color: oklch(33.5% 0.117 306.1);
Tailwind
colors: {
  custom: {
    50: '#7c5f91',
    500: '#462165',
    950: '#000000',
  },
}
SCSS
$custom: #462165;
$custom-light: #7c5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#462165",
  "rgb": {
    "r": 70,
    "g": 33,
    "b": 101
  },
  "hsl": {
    "h": 272.647,
    "s": 50.746,
    "l": 26.275
  },
  "oklch": {
    "l": 0.33538,
    "c": 0.1166,
    "h": 306.1
  },
  "luminance": 0.03329
}

Semantic roles & 50–950 ramp

primary
#462165
secondary
#6D9949
accent
#DA4E8E
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #462165

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

Preview Lab → · Contrast checker → · Palette generator →

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