#2E1859#2E1859

#2E1859 is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.1% C 0.110 H 293.6°. Best body text is #FFFFFF at 15.10:1 contrast (WCAG AA passes).

Color values

HEX#2E1859
RGBrgb(46, 24, 89)
HSLhsl(260, 58%, 22%)
HSVhsv(260, 73%, 35%)
CMYKcmyk(48.3%, 73%, 0%, 65.1%)
CIE-LABlab(15.25, 27.69, -35.30)
CIE-LCHlch(15.25, 44.87, 308.10°)
OKLaboklab(28.15% 0.0442 -0.101)
OKLCHoklch(28.15% 0.11 293.6)
XYZxyz(3.2560, 1.9553, 9.6551)
Luminance0.0196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1859 #435918
analogous
#182259 #2E1859 #4F1859
triadic
#2E1859 #592E18 #18592E
tetradic
#2E1859 #591822 #435918 #18594F
square
#2E1859 #591822 #435918 #18594F
split-complementary
#2E1859 #594F18 #225918
monochromatic
#0C0618 #150B29 #2E1859 #472589 #6032B9

Accessibility & contrast

On white

15.10
#2E1859 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#2E1859 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1859
15.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1859#FFFFFF#000000##FFFFFF
##2E18591.0015.101.3915.10
#FFFFFF15.101.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00275B
Deuteranopia (green-blind)
#002558
Tritanopia (blue-blind)
#222836
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e1859;
/* rgb */ color: rgb(46, 24, 89);
/* oklch */ color: oklch(28.1% 0.110 293.6);
Tailwind
colors: {
  custom: {
    50: '#6b5688',
    500: '#2e1859',
    950: '#000000',
  },
}
SCSS
$custom: #2e1859;
$custom-light: #6b5688;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1859",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 89
  },
  "hsl": {
    "h": 260.308,
    "s": 57.522,
    "l": 22.157
  },
  "oklch": {
    "l": 0.2815,
    "c": 0.11024,
    "h": 293.6
  },
  "luminance": 0.01955
}

Semantic roles & 50–950 ramp

primary
#2E1859
secondary
#74903D
accent
#E147AD
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2E1859

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

Preview Lab → · Contrast checker → · Palette generator →

#2E1859 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva