#2A194B#2A194B

#2A194B is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.6% C 0.089 H 295.4°. Best body text is #FFFFFF at 15.68:1 contrast (WCAG AA passes).

Color values

HEX#2A194B
RGBrgb(42, 25, 75)
HSLhsl(260, 50%, 20%)
HSVhsv(260, 67%, 29%)
CMYKcmyk(44%, 66.7%, 0%, 70.6%)
CIE-LABlab(13.80, 21.67, -28.15)
CIE-LCHlch(13.80, 35.52, 307.58°)
OKLaboklab(26.61% 0.038 -0.0801)
OKLCHoklch(26.61% 0.089 295.4)
XYZxyz(2.5721, 1.6954, 6.8470)
Luminance0.0170 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A194B #3A4B19
analogous
#19214B #2A194B #43194B
triadic
#2A194B #4B2A19 #194B2A
tetradic
#2A194B #4B1921 #3A4B19 #194B43
square
#2A194B #4B1921 #3A4B19 #194B43
split-complementary
#2A194B #4B4319 #214B19
monochromatic
#0D0817 #100A1D #2A194B #442879 #5D38A7

Accessibility & contrast

On white

15.68
#2A194B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#2A194B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A194B
15.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A194B#FFFFFF#000000##FFFFFF
##2A194B1.0015.681.3415.68
#FFFFFF15.681.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244D
Deuteranopia (green-blind)
#03224A
Tritanopia (blue-blind)
#22242F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a194b;
/* rgb */ color: rgb(42, 25, 75);
/* oklch */ color: oklch(26.6% 0.089 295.4);
Tailwind
colors: {
  custom: {
    50: '#66567e',
    500: '#2a194b',
    950: '#000000',
  },
}
SCSS
$custom: #2a194b;
$custom-light: #66567e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a194b",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 75
  },
  "hsl": {
    "h": 260.4,
    "s": 50,
    "l": 19.608
  },
  "oklch": {
    "l": 0.26611,
    "c": 0.0887,
    "h": 295.4
  },
  "luminance": 0.01696
}

Semantic roles & 50–950 ramp

primary
#2A194B
secondary
#6B813E
accent
#DA4EAA
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2A194B

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

Preview Lab → · Contrast checker → · Palette generator →

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