#46258F#46258F

#46258F is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.163 H 290.7°. Best body text is #FFFFFF at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#46258F
RGBrgb(70, 37, 143)
HSLhsl(259, 59%, 35%)
HSVhsv(259, 74%, 56%)
CMYKcmyk(51%, 74.1%, 0%, 43.9%)
CIE-LABlab(25.59, 41.17, -53.08)
CIE-LCHlch(25.59, 67.17, 307.80°)
OKLaboklab(37.68% 0.0574 -0.1524)
OKLCHoklch(37.68% 0.163 290.7)
XYZxyz(8.1439, 4.6081, 26.4416)
Luminance0.0461 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#46258F #6E8F25
analogous
#25398F #46258F #7B258F
triadic
#46258F #8F4625 #258F46
tetradic
#46258F #8F2539 #6E8F25 #258F7B
square
#46258F #8F2539 #6E8F25 #258F7B
split-complementary
#46258F #8F7B25 #398F25
monochromatic
#160C2E #2E185E #46258F #5E32C0 #805AD4

Accessibility & contrast

On white

10.93
#46258F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#46258F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #46258F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##46258F#FFFFFF#000000##FFFFFF
##46258F1.0010.931.9210.93
#FFFFFF10.931.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003E92
Deuteranopia (green-blind)
#003A8D
Tritanopia (blue-blind)
#2D4158
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #46258f;
/* rgb */ color: rgb(70, 37, 143);
/* oklch */ color: oklch(37.7% 0.163 290.7);
Tailwind
colors: {
  custom: {
    50: '#8163b1',
    500: '#46258f',
    950: '#000000',
  },
}
SCSS
$custom: #46258f;
$custom-light: #8163b1;
$custom-dark: #000000;
JSON
{
  "hex": "#46258f",
  "rgb": {
    "r": 70,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 258.679,
    "s": 58.889,
    "l": 35.294
  },
  "oklch": {
    "l": 0.37679,
    "c": 0.16283,
    "h": 290.7
  },
  "luminance": 0.04608
}

Semantic roles & 50–950 ramp

primary
#46258F
secondary
#9AB957
accent
#E246B1
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0511
muted
#7C7A80

Preview Lab

Preview with #46258F

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

Preview Lab → · Contrast checker → · Palette generator →

#46258F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva