#2E0F68#2E0F68

#2E0F68 is a dark, vivid violet. Relative luminance 0.019; OKLCH L 28.5% C 0.140 H 290.2°. Best body text is #FFFFFF at 15.17:1 contrast (WCAG AA passes).

Color values

HEX#2E0F68
RGBrgb(46, 15, 104)
HSLhsl(261, 75%, 23%)
HSVhsv(261, 86%, 41%)
CMYKcmyk(55.8%, 85.6%, 0%, 59.2%)
CIE-LABlab(15.07, 36.97, -45.58)
CIE-LCHlch(15.07, 58.69, 309.05°)
OKLaboklab(28.48% 0.0483 -0.131)
OKLCHoklch(28.48% 0.14 290.2)
XYZxyz(3.7955, 1.9218, 13.2650)
Luminance0.0192 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E0F68 #49680F
analogous
#0F1C68 #2E0F68 #5A0F68
triadic
#2E0F68 #682E0F #0F682E
tetradic
#2E0F68 #680F1C #49680F #0F685A
square
#2E0F68 #680F1C #49680F #0F685A
split-complementary
#2E0F68 #685A0F #1C680F
monochromatic
#0C041B #160733 #2E0F68 #46179D #5D1ED3

Accessibility & contrast

On white

15.17
#2E0F68 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.38
#2E0F68 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E0F68
15.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E0F68#FFFFFF#000000##FFFFFF
##2E0F681.0015.171.3815.17
#FFFFFF15.171.0021.001.00
#0000001.3821.001.0021.00
##FFFFFF15.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00276A
Deuteranopia (green-blind)
#002466
Tritanopia (blue-blind)
#182A3C
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #2e0f68;
/* rgb */ color: rgb(46, 15, 104);
/* oklch */ color: oklch(28.5% 0.140 290.2);
Tailwind
colors: {
  custom: {
    50: '#6f5294',
    500: '#2e0f68',
    950: '#000000',
  },
}
SCSS
$custom: #2e0f68;
$custom-light: #6f5294;
$custom-dark: #000000;
JSON
{
  "hex": "#2e0f68",
  "rgb": {
    "r": 46,
    "g": 15,
    "b": 104
  },
  "hsl": {
    "h": 260.899,
    "s": 74.79,
    "l": 23.333
  },
  "oklch": {
    "l": 0.28481,
    "c": 0.13965,
    "h": 290.2
  },
  "luminance": 0.01922
}

Semantic roles & 50–950 ramp

primary
#2E0F68
secondary
#7AA132
accent
#F136B0
background
#F7F4F9
surface
#EDE7F1
border
#C8C3CB
text
#08020D
muted
#7B787E

Preview Lab

Preview with #2E0F68

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

Preview Lab → · Contrast checker → · Palette generator →

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