#462265#462265

#462265 is a dark, moderate violet. Relative luminance 0.034; OKLCH L 33.7% C 0.115 H 305.9°. Best body text is #FFFFFF at 12.52:1 contrast (WCAG AA passes).

Color values

HEX#462265
RGBrgb(70, 34, 101)
HSLhsl(272, 50%, 26%)
HSVhsv(272, 66%, 40%)
CMYKcmyk(30.7%, 66.3%, 0%, 60.4%)
CIE-LABlab(21.53, 31.01, -32.96)
CIE-LCHlch(21.53, 45.25, 313.26°)
OKLaboklab(33.69% 0.0674 -0.0932)
OKLCHoklch(33.69% 0.115 305.9)
XYZxyz(5.4463, 3.3858, 12.6760)
Luminance0.0339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462265 #416522
analogous
#252265 #462265 #652263
triadic
#462265 #654622 #226546
tetradic
#462265 #652522 #416522 #226365
square
#462265 #652522 #416522 #226365
split-complementary
#462265 #636522 #226525
monochromatic
#100817 #261337 #462265 #663193 #8542BF

Accessibility & contrast

On white

12.52
#462265 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#462265 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462265
12.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462265#FFFFFF#000000##FFFFFF
##4622651.0012.521.6812.52
#FFFFFF12.521.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003367
Deuteranopia (green-blind)
#133463
Tritanopia (blue-blind)
#413040
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #462265;
/* rgb */ color: rgb(70, 34, 101);
/* oklch */ color: oklch(33.7% 0.115 305.9);
Tailwind
colors: {
  custom: {
    50: '#7c5f91',
    500: '#462265',
    950: '#000000',
  },
}
SCSS
$custom: #462265;
$custom-light: #7c5f91;
$custom-dark: #000000;
JSON
{
  "hex": "#462265",
  "rgb": {
    "r": 70,
    "g": 34,
    "b": 101
  },
  "hsl": {
    "h": 272.239,
    "s": 49.63,
    "l": 26.471
  },
  "oklch": {
    "l": 0.33689,
    "c": 0.11502,
    "h": 305.9
  },
  "luminance": 0.03386
}

Semantic roles & 50–950 ramp

primary
#462265
secondary
#6E994A
accent
#D94F8F
background
#F7F5F9
surface
#EEE9F1
border
#C9C5CB
text
#0A050D
muted
#7C797E

Preview Lab

Preview with #462265

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

Preview Lab → · Contrast checker → · Palette generator →

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