#2A194F#2A194F

#2A194F is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.0% C 0.095 H 293.6°. Best body text is #FFFFFF at 15.55:1 contrast (WCAG AA passes).

Color values

HEX#2A194F
RGBrgb(42, 25, 79)
HSLhsl(259, 52%, 20%)
HSVhsv(259, 68%, 31%)
CMYKcmyk(46.8%, 68.4%, 0%, 69%)
CIE-LABlab(14.13, 22.95, -30.37)
CIE-LCHlch(14.13, 38.07, 307.08°)
OKLaboklab(26.95% 0.0378 -0.0866)
OKLCHoklch(26.95% 0.095 293.6)
XYZxyz(2.7134, 1.7519, 7.5908)
Luminance0.0175 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A194F #3E4F19
analogous
#19234F #2A194F #45194F
triadic
#2A194F #4F2A19 #194F2A
tetradic
#2A194F #4F1923 #3E4F19 #194F45
square
#2A194F #4F1923 #3E4F19 #194F45
split-complementary
#2A194F #4F4519 #234F19
monochromatic
#0C0717 #110A21 #2A194F #43287D #5B36AC

Accessibility & contrast

On white

15.55
#2A194F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A194F
15.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A194F#FFFFFF#000000##FFFFFF
##2A194F1.0015.551.3515.55
#FFFFFF15.551.0021.001.00
#0000001.3521.001.0021.00
##FFFFFF15.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002451
Deuteranopia (green-blind)
#00234E
Tritanopia (blue-blind)
#202531
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #2a194f;
/* rgb */ color: rgb(42, 25, 79);
/* oklch */ color: oklch(27.0% 0.095 293.6);
Tailwind
colors: {
  custom: {
    50: '#675681',
    500: '#2a194f',
    950: '#000000',
  },
}
SCSS
$custom: #2a194f;
$custom-light: #675681;
$custom-dark: #000000;
JSON
{
  "hex": "#2a194f",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 79
  },
  "hsl": {
    "h": 258.889,
    "s": 51.923,
    "l": 20.392
  },
  "oklch": {
    "l": 0.26954,
    "c": 0.09453,
    "h": 293.6
  },
  "luminance": 0.01752
}

Semantic roles & 50–950 ramp

primary
#2A194F
secondary
#6F853E
accent
#DB4CAE
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2A194F

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

Preview Lab → · Contrast checker → · Palette generator →

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