#2E0C53#2E0C53

#2E0C53 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 26.0% C 0.118 H 299.6°. Best body text is #FFFFFF at 16.23:1 contrast (WCAG AA passes).

Color values

HEX#2E0C53
RGBrgb(46, 12, 83)
HSLhsl(269, 75%, 19%)
HSVhsv(269, 86%, 33%)
CMYKcmyk(44.6%, 85.5%, 0%, 67.5%)
CIE-LABlab(12.41, 32.34, -35.88)
CIE-LCHlch(12.41, 48.30, 312.02°)
OKLaboklab(25.96% 0.0582 -0.1026)
OKLCHoklch(25.96% 0.118 299.6)
XYZxyz(2.8191, 1.4683, 8.3168)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0C53 #31530C
analogous
#0C0E53 #2E0C53 #510C53
triadic
#2E0C53 #532E0C #0C532E
tetradic
#2E0C53 #530C0E #31530C #0C5351
square
#2E0C53 #530C0E #31530C #0C5351
split-complementary
#2E0C53 #53510C #0E530C
monochromatic
#0F041B #10041E #2E0C53 #4C1488 #691BBE

Accessibility & contrast

On white

16.23
#2E0C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#2E0C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0C53
16.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0C53#FFFFFF#000000##FFFFFF
##2E0C531.0016.231.2916.23
#FFFFFF16.231.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002055
Deuteranopia (green-blind)
#002052
Tritanopia (blue-blind)
#251F2F
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #2e0c53;
/* rgb */ color: rgb(46, 12, 83);
/* oklch */ color: oklch(26.0% 0.118 299.6);
Tailwind
colors: {
  custom: {
    50: '#6b4f84',
    500: '#2e0c53',
    950: '#000000',
  },
}
SCSS
$custom: #2e0c53;
$custom-light: #6b4f84;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0c53",
  "rgb": {
    "r": 46,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 268.732,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.25962,
    "c": 0.11798,
    "h": 299.6
  },
  "luminance": 0.01468
}

Semantic roles & 50–950 ramp

primary
#2E0C53
secondary
#5F8E2D
accent
#F13698
background
#F6F4F8
surface
#ECE7EF
border
#C7C3CA
text
#07020B
muted
#7A787C

Preview Lab

Preview with #2E0C53

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

Preview Lab → · Contrast checker → · Palette generator →

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