#462075#462075

#462075 is a dark, vivid violet. Relative luminance 0.036; OKLCH L 34.7% C 0.138 H 299.6°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#462075
RGBrgb(70, 32, 117)
HSLhsl(267, 57%, 29%)
HSVhsv(267, 73%, 46%)
CMYKcmyk(40.2%, 72.6%, 0%, 54.1%)
CIE-LABlab(22.37, 36.45, -41.95)
CIE-LCHlch(22.37, 55.57, 310.99°)
OKLaboklab(34.69% 0.0679 -0.1196)
OKLCHoklch(34.69% 0.138 299.6)
XYZxyz(6.2524, 3.6194, 17.1954)
Luminance0.0362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462075 #4F7520
analogous
#202475 #462075 #712075
triadic
#462075 #754620 #207546
tetradic
#462075 #752024 #4F7520 #207571
square
#462075 #752024 #4F7520 #207571
split-complementary
#462075 #757120 #247520
monochromatic
#0E0718 #291345 #462075 #632DA5 #8044CC

Accessibility & contrast

On white

12.18
#462075 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#462075 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462075
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462075#FFFFFF#000000##FFFFFF
##4620751.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003578
Deuteranopia (green-blind)
#003573
Tritanopia (blue-blind)
#3B3448
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #462075;
/* rgb */ color: rgb(70, 32, 117);
/* oklch */ color: oklch(34.7% 0.138 299.6);
Tailwind
colors: {
  custom: {
    50: '#7e5f9d',
    500: '#462075',
    950: '#000000',
  },
}
SCSS
$custom: #462075;
$custom-light: #7e5f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#462075",
  "rgb": {
    "r": 70,
    "g": 32,
    "b": 117
  },
  "hsl": {
    "h": 266.824,
    "s": 57.047,
    "l": 29.216
  },
  "oklch": {
    "l": 0.3469,
    "c": 0.13759,
    "h": 299.6
  },
  "luminance": 0.03619
}

Semantic roles & 50–950 ramp

primary
#462075
secondary
#7DA848
accent
#E0479C
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462075

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

Preview Lab → · Contrast checker → · Palette generator →

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