#2E1853#2E1853

#2E1853 is a dark, moderate violet. Relative luminance 0.019; OKLCH L 27.6% C 0.102 H 296.2°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#2E1853
RGBrgb(46, 24, 83)
HSLhsl(262, 55%, 21%)
HSVhsv(262, 71%, 33%)
CMYKcmyk(44.6%, 71.1%, 0%, 67.5%)
CIE-LABlab(14.73, 25.82, -32.10)
CIE-LCHlch(14.73, 41.20, 308.81°)
OKLaboklab(27.61% 0.045 -0.0916)
OKLCHoklch(27.61% 0.102 296.2)
XYZxyz(3.0143, 1.8586, 8.3819)
Luminance0.0186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E1853 #3D5318
analogous
#181F53 #2E1853 #4B1853
triadic
#2E1853 #532E18 #18532E
tetradic
#2E1853 #53181F #3D5318 #18534B
square
#2E1853 #53181F #3D5318 #18534B
split-complementary
#2E1853 #534B18 #1F5318
monochromatic
#0D0718 #140A24 #2E1853 #482682 #6333B2

Accessibility & contrast

On white

15.31
#2E1853 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#2E1853 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E1853
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E1853#FFFFFF#000000##FFFFFF
##2E18531.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002555
Deuteranopia (green-blind)
#002452
Tritanopia (blue-blind)
#252633
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #2e1853;
/* rgb */ color: rgb(46, 24, 83);
/* oklch */ color: oklch(27.6% 0.102 296.2);
Tailwind
colors: {
  custom: {
    50: '#6a5684',
    500: '#2e1853',
    950: '#000000',
  },
}
SCSS
$custom: #2e1853;
$custom-light: #6a5684;
$custom-dark: #000000;
JSON
{
  "hex": "#2e1853",
  "rgb": {
    "r": 46,
    "g": 24,
    "b": 83
  },
  "hsl": {
    "h": 262.373,
    "s": 55.14,
    "l": 20.98
  },
  "oklch": {
    "l": 0.27609,
    "c": 0.10207,
    "h": 296.2
  },
  "luminance": 0.01859
}

Semantic roles & 50–950 ramp

primary
#2E1853
secondary
#6D8A3D
accent
#DE49A7
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2E1853

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

Preview Lab → · Contrast checker → · Palette generator →

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