#2E195A#2E195A

#2E195A is a dark, moderate violet. Relative luminance 0.020; OKLCH L 28.4% C 0.110 H 292.9°. Best body text is #FFFFFF at 14.97:1 contrast (WCAG AA passes).

Color values

HEX#2E195A
RGBrgb(46, 25, 90)
HSLhsl(259, 57%, 23%)
HSVhsv(259, 72%, 35%)
CMYKcmyk(48.9%, 72.2%, 0%, 64.7%)
CIE-LABlab(15.56, 27.39, -35.47)
CIE-LCHlch(15.56, 44.82, 307.68°)
OKLaboklab(28.4% 0.0428 -0.1015)
OKLCHoklch(28.4% 0.11 292.9)
XYZxyz(3.3193, 2.0142, 9.8848)
Luminance0.0201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E195A #455A19
analogous
#19245A #2E195A #4F195A
triadic
#2E195A #5A2E19 #195A2E
tetradic
#2E195A #5A1924 #455A19 #195A4F
square
#2E195A #5A1924 #455A19 #195A4F
split-complementary
#2E195A #5A4F19 #245A19
monochromatic
#0C0718 #160C2A #2E195A #46268A #5F34BA

Accessibility & contrast

On white

14.97
#2E195A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#2E195A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E195A
14.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E195A#FFFFFF#000000##FFFFFF
##2E195A1.0014.971.4014.97
#FFFFFF14.971.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00285C
Deuteranopia (green-blind)
#002659
Tritanopia (blue-blind)
#212937
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #2e195a;
/* rgb */ color: rgb(46, 25, 90);
/* oklch */ color: oklch(28.4% 0.110 292.9);
Tailwind
colors: {
  custom: {
    50: '#6b5789',
    500: '#2e195a',
    950: '#000000',
  },
}
SCSS
$custom: #2e195a;
$custom-light: #6b5789;
$custom-dark: #000000;
JSON
{
  "hex": "#2e195a",
  "rgb": {
    "r": 46,
    "g": 25,
    "b": 90
  },
  "hsl": {
    "h": 259.385,
    "s": 56.522,
    "l": 22.549
  },
  "oklch": {
    "l": 0.28401,
    "c": 0.11016,
    "h": 292.9
  },
  "luminance": 0.02014
}

Semantic roles & 50–950 ramp

primary
#2E195A
secondary
#76903E
accent
#E048AF
background
#F6F5F8
surface
#ECE9F0
border
#C7C5CB
text
#07030B
muted
#7A787C

Preview Lab

Preview with #2E195A

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

Preview Lab → · Contrast checker → · Palette generator →

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