#462FB8#462FB8

#462FB8 is a dark, highly saturated violet. Relative luminance 0.068; OKLCH L 42.9% C 0.201 H 281.4°. Best body text is #FFFFFF at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#462FB8
RGBrgb(70, 47, 184)
HSLhsl(250, 59%, 45%)
HSVhsv(250, 74%, 72%)
CMYKcmyk(62%, 74.5%, 0%, 27.8%)
CIE-LABlab(31.34, 48.13, -68.47)
CIE-LCHlch(31.34, 83.69, 305.10°)
OKLaboklab(42.92% 0.0398 -0.1975)
OKLCHoklch(42.92% 0.201 281.4)
XYZxyz(12.1913, 6.7949, 46.0072)
Luminance0.0680 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#462FB8 #A1B82F
analogous
#2F5CB8 #462FB8 #8A2FB8
triadic
#462FB8 #B8462F #2FB846
tetradic
#462FB8 #B82F5C #A1B82F #2FB88A
square
#462FB8 #B82F5C #A1B82F #2FB88A
split-complementary
#462FB8 #B88A2F #5CB82F
monochromatic
#211657 #332387 #462FB8 #6752D3 #9282DF

Accessibility & contrast

On white

8.90
#462FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#462FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #462FB8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##462FB8#FFFFFF#000000##FFFFFF
##462FB81.008.902.368.90
#FFFFFF8.901.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EBC
Deuteranopia (green-blind)
#0045B5
Tritanopia (blue-blind)
#005671
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #462fb8;
/* rgb */ color: rgb(70, 47, 184);
/* oklch */ color: oklch(42.9% 0.201 281.4);
Tailwind
colors: {
  custom: {
    50: '#876bcf',
    500: '#462fb8',
    950: '#000000',
  },
}
SCSS
$custom: #462fb8;
$custom-light: #876bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#462fb8",
  "rgb": {
    "r": 70,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 250.073,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.42921,
    "c": 0.20146,
    "h": 281.4
  },
  "luminance": 0.06796
}

Semantic roles & 50–950 ramp

primary
#462FB8
secondary
#BBC87B
accent
#E245C8
background
#F9F6FC
surface
#F1EBF9
border
#CBC6D2
text
#0D0714
muted
#7E7A82

Preview Lab

Preview with #462FB8

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

Preview Lab → · Contrast checker → · Palette generator →

#462FB8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva