#2E0F60#2E0F60

#2E0F60 is a dark, vivid violet. Relative luminance 0.018; OKLCH L 27.6% C 0.130 H 293.1°. Best body text is #FFFFFF at 15.52:1 contrast (WCAG AA passes).

Color values

HEX#2E0F60
RGBrgb(46, 15, 96)
HSLhsl(263, 73%, 22%)
HSVhsv(263, 84%, 38%)
CMYKcmyk(52.1%, 84.4%, 0%, 62.4%)
CIE-LABlab(14.21, 34.65, -41.69)
CIE-LCHlch(14.21, 54.21, 309.73°)
OKLaboklab(27.63% 0.0512 -0.1197)
OKLCHoklch(27.63% 0.13 293.1)
XYZxyz(3.4083, 1.7669, 11.2255)
Luminance0.0177 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F60 #41600F
analogous
#0F1960 #2E0F60 #570F60
triadic
#2E0F60 #602E0F #0F602E
tetradic
#2E0F60 #600F19 #41600F #0F6057
square
#2E0F60 #600F19 #41600F #0F6057
split-complementary
#2E0F60 #60570F #19600F
monochromatic
#0D041A #15072B #2E0F60 #471795 #6120CA

Accessibility & contrast

On white

15.52
#2E0F60 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.35
#2E0F60 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F60
15.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F60#FFFFFF#000000##FFFFFF
##2E0F601.0015.521.3515.52
#FFFFFF15.521.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00235F
Tritanopia (blue-blind)
#1E2638
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2e0f60;
/* rgb */ color: rgb(46, 15, 96);
/* oklch */ color: oklch(27.6% 0.130 293.1);
Tailwind
colors: {
  custom: {
    50: '#6d528e',
    500: '#2e0f60',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f60;
$custom-light: #6d528e;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f60",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 96
  },
  "hsl": {
    "h": 262.963,
    "s": 72.973,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27627,
    "c": 0.13016,
    "h": 293.1
  },
  "luminance": 0.01767
}

Semantic roles & 50–950 ramp

primary
#2E0F60
secondary
#729932
accent
#F038A9
background
#F6F4F8
surface
#ECE7F0
border
#C7C3CB
text
#08020C
muted
#7B787D

Preview Lab

Preview with #2E0F60

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

Preview Lab → · Contrast checker → · Palette generator →

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