#2A194C#2A194C

#2A194C is a dark, moderate violet. Relative luminance 0.017; OKLCH L 26.7% C 0.090 H 294.9°. Best body text is #FFFFFF at 15.65:1 contrast (WCAG AA passes).

Color values

HEX#2A194C
RGBrgb(42, 25, 76)
HSLhsl(260, 50%, 20%)
HSVhsv(260, 67%, 30%)
CMYKcmyk(44.7%, 67.1%, 0%, 70.2%)
CIE-LABlab(13.88, 21.99, -28.71)
CIE-LCHlch(13.88, 36.16, 307.44°)
OKLaboklab(26.7% 0.038 -0.0818)
OKLCHoklch(26.7% 0.09 294.9)
XYZxyz(2.6066, 1.7092, 7.0287)
Luminance0.0171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A194C #3B4C19
analogous
#19224C #2A194C #44194C
triadic
#2A194C #4C2A19 #194C2A
tetradic
#2A194C #4C1922 #3B4C19 #194C44
square
#2A194C #4C1922 #3B4C19 #194C44
split-complementary
#2A194C #4C4419 #224C19
monochromatic
#0D0817 #110A1E #2A194C #43287A #5D37A8

Accessibility & contrast

On white

15.65
#2A194C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2A194C
15.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A194C#FFFFFF#000000##FFFFFF
##2A194C1.0015.651.3415.65
#FFFFFF15.651.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00244E
Deuteranopia (green-blind)
#01234B
Tritanopia (blue-blind)
#21242F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #2a194c;
/* rgb */ color: rgb(42, 25, 76);
/* oklch */ color: oklch(26.7% 0.090 294.9);
Tailwind
colors: {
  custom: {
    50: '#67567e',
    500: '#2a194c',
    950: '#000000',
  },
}
SCSS
$custom: #2a194c;
$custom-light: #67567e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a194c",
  "rgb": {
    "r": 42,
    "g": 25,
    "b": 76
  },
  "hsl": {
    "h": 260,
    "s": 50.495,
    "l": 19.804
  },
  "oklch": {
    "l": 0.26696,
    "c": 0.09017,
    "h": 294.9
  },
  "luminance": 0.01709
}

Semantic roles & 50–950 ramp

primary
#2A194C
secondary
#6C823E
accent
#DA4EAB
background
#F6F5F7
surface
#EBE9EE
border
#C6C5C9
text
#06030A
muted
#7A787C

Preview Lab

Preview with #2A194C

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

Preview Lab → · Contrast checker → · Palette generator →

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