#2E2067#2E2067

#2E2067 is a dark, moderate violet. Relative luminance 0.026; OKLCH L 30.8% C 0.118 H 286.2°. Best body text is #FFFFFF at 13.83:1 contrast (WCAG AA passes).

Color values

HEX#2E2067
RGBrgb(46, 32, 103)
HSLhsl(252, 53%, 26%)
HSVhsv(252, 69%, 40%)
CMYKcmyk(55.3%, 68.9%, 0%, 59.6%)
CIE-LABlab(18.33, 27.23, -39.57)
CIE-LCHlch(18.33, 48.04, 304.53°)
OKLaboklab(30.76% 0.0331 -0.1136)
OKLCHoklch(30.76% 0.118 286.2)
XYZxyz(4.0907, 2.5929, 13.1143)
Luminance0.0259 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E2067 #596720
analogous
#203667 #2E2067 #522067
triadic
#2E2067 #672E20 #20672E
tetradic
#2E2067 #672036 #596720 #206752
square
#2E2067 #672036 #596720 #206752
split-complementary
#2E2067 #675220 #366720
monochromatic
#0A0717 #191138 #2E2067 #432F96 #583EC3

Accessibility & contrast

On white

13.83
#2E2067 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#2E2067 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E2067
13.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E2067#FFFFFF#000000##FFFFFF
##2E20671.0013.831.5213.83
#FFFFFF13.831.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F69
Deuteranopia (green-blind)
#002B66
Tritanopia (blue-blind)
#183240
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #2e2067;
/* rgb */ color: rgb(46, 32, 103);
/* oklch */ color: oklch(30.8% 0.118 286.2);
Tailwind
colors: {
  custom: {
    50: '#6d5c93',
    500: '#2e2067',
    950: '#000000',
  },
}
SCSS
$custom: #2e2067;
$custom-light: #6d5c93;
$custom-dark: #000000;
JSON
{
  "hex": "#2e2067",
  "rgb": {
    "r": 46,
    "g": 32,
    "b": 103
  },
  "hsl": {
    "h": 251.831,
    "s": 52.593,
    "l": 26.471
  },
  "oklch": {
    "l": 0.30761,
    "c": 0.11827,
    "h": 286.2
  },
  "luminance": 0.02593
}

Semantic roles & 50–950 ramp

primary
#2E2067
secondary
#8B9B48
accent
#DC4CC0
background
#F6F5F9
surface
#ECE9F1
border
#C7C5CB
text
#07040D
muted
#7A797E

Preview Lab

Preview with #2E2067

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

Preview Lab → · Contrast checker → · Palette generator →

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