#2E0F53#2E0F53

#2E0F53 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.3% C 0.115 H 298.9°. Best body text is #FFFFFF at 16.04:1 contrast (WCAG AA passes).

Color values

HEX#2E0F53
RGBrgb(46, 15, 83)
HSLhsl(267, 69%, 19%)
HSVhsv(267, 82%, 33%)
CMYKcmyk(44.6%, 81.9%, 0%, 67.5%)
CIE-LABlab(12.90, 30.91, -35.07)
CIE-LCHlch(12.90, 46.74, 311.39°)
OKLaboklab(26.31% 0.0553 -0.1003)
OKLCHoklch(26.31% 0.115 298.9)
XYZxyz(2.8585, 1.5470, 8.3299)
Luminance0.0155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F53 #34530F
analogous
#0F1253 #2E0F53 #500F53
triadic
#2E0F53 #532E0F #0F532E
tetradic
#2E0F53 #530F12 #34530F #0F5350
square
#2E0F53 #530F12 #34530F #0F5350
split-complementary
#2E0F53 #53500F #12530F
monochromatic
#0E051A #11061F #2E0F53 #4B1887 #6722BB

Accessibility & contrast

On white

16.04
#2E0F53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#2E0F53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F53
16.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F53#FFFFFF#000000##FFFFFF
##2E0F531.0016.041.3116.04
#FFFFFF16.041.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF16.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002155
Deuteranopia (green-blind)
#002152
Tritanopia (blue-blind)
#252130
Achromatopsia (no color)
#212121

Design tokens & code

CSS
--color: #2e0f53;
/* rgb */ color: rgb(46, 15, 83);
/* oklch */ color: oklch(26.3% 0.115 298.9);
Tailwind
colors: {
  custom: {
    50: '#6b5184',
    500: '#2e0f53',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f53;
$custom-light: #6b5184;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f53",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 83
  },
  "hsl": {
    "h": 267.353,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.26311,
    "c": 0.11451,
    "h": 298.9
  },
  "luminance": 0.01547
}

Semantic roles & 50–950 ramp

primary
#2E0F53
secondary
#638D31
accent
#EC3C9C
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E0F53

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

Preview Lab → · Contrast checker → · Palette generator →

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