#462275#462275

#462275 is a dark, vivid violet. Relative luminance 0.037; OKLCH L 35.0% C 0.135 H 299.1°. Best body text is #FFFFFF at 12.03:1 contrast (WCAG AA passes).

Color values

HEX#462275
RGBrgb(70, 34, 117)
HSLhsl(266, 55%, 30%)
HSVhsv(266, 71%, 46%)
CMYKcmyk(40.2%, 70.9%, 0%, 54.1%)
CIE-LABlab(22.76, 35.37, -41.32)
CIE-LCHlch(22.76, 54.39, 310.56°)
OKLaboklab(34.97% 0.0657 -0.1178)
OKLCHoklch(34.97% 0.135 299.1)
XYZxyz(6.3079, 3.7304, 17.2139)
Luminance0.0373 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462275 #517522
analogous
#222875 #462275 #702275
triadic
#462275 #754622 #227546
tetradic
#462275 #752228 #517522 #227570
square
#462275 #752228 #517522 #227570
split-complementary
#462275 #757022 #287522
monochromatic
#0E0718 #2A1446 #462275 #6230A4 #8048CA

Accessibility & contrast

On white

12.03
#462275 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.75
#462275 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462275
12.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462275#FFFFFF#000000##FFFFFF
##4622751.0012.031.7512.03
#FFFFFF12.031.0021.001.00
#0000001.7521.001.0021.00
##FFFFFF12.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003677
Deuteranopia (green-blind)
#003673
Tritanopia (blue-blind)
#3B3648
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #462275;
/* rgb */ color: rgb(70, 34, 117);
/* oklch */ color: oklch(35.0% 0.135 299.1);
Tailwind
colors: {
  custom: {
    50: '#7e609d',
    500: '#462275',
    950: '#000000',
  },
}
SCSS
$custom: #462275;
$custom-light: #7e609d;
$custom-dark: #000000;
JSON
{
  "hex": "#462275",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 117
  },
  "hsl": {
    "h": 266.024,
    "s": 54.967,
    "l": 29.608
  },
  "oklch": {
    "l": 0.34967,
    "c": 0.13488,
    "h": 299.1
  },
  "luminance": 0.03731
}

Semantic roles & 50–950 ramp

primary
#462275
secondary
#80A84B
accent
#DE499E
background
#F7F5F9
surface
#EEE9F2
border
#C9C5CC
text
#0A050E
muted
#7C797E

Preview Lab

Preview with #462275

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

Preview Lab → · Contrast checker → · Palette generator →

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