#2A093D#2A093D

#2A093D is a very dark, moderate violet. Relative luminance 0.010; OKLCH L 22.9% C 0.095 H 309.7°. Best body text is #FFFFFF at 17.43:1 contrast (WCAG AA passes).

Color values

HEX#2A093D
RGBrgb(42, 9, 61)
HSLhsl(278, 74%, 14%)
HSVhsv(278, 85%, 24%)
CMYKcmyk(31.1%, 85.2%, 0%, 76.1%)
CIE-LABlab(9.19, 26.97, -25.77)
CIE-LCHlch(9.19, 37.31, 316.31°)
OKLaboklab(22.93% 0.0608 -0.073)
OKLCHoklch(22.93% 0.095 309.7)
XYZxyz(1.8947, 1.0246, 4.5119)
Luminance0.0103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A093D #1C3D09
analogous
#10093D #2A093D #3D0936
triadic
#2A093D #3D2A09 #093D2A
tetradic
#2A093D #3D1009 #1C3D09 #09363D
square
#2A093D #3D1009 #1C3D09 #09363D
split-complementary
#2A093D #363D09 #093D10
monochromatic
#12041B #12041B #2A093D #4F1172 #7319A8

Accessibility & contrast

On white

17.43
#2A093D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.21
#2A093D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2A093D
17.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A093D#FFFFFF#000000##FFFFFF
##2A093D1.0017.431.2117.43
#FFFFFF17.431.0021.001.00
#0000001.2121.001.0021.00
##FFFFFF17.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00193E
Deuteranopia (green-blind)
#011A3C
Tritanopia (blue-blind)
#271522
Achromatopsia (no color)
#1A1A1A

Design tokens & code

CSS
--color: #2a093d;
/* rgb */ color: rgb(42, 9, 61);
/* oklch */ color: oklch(22.9% 0.095 309.7);
Tailwind
colors: {
  custom: {
    50: '#664c73',
    500: '#2a093d',
    950: '#000000',
  },
}
SCSS
$custom: #2a093d;
$custom-light: #664c73;
$custom-dark: #000000;
JSON
{
  "hex": "#2a093d",
  "rgb": {
    "r": 42,
    "g": 9,
    "b": 61
  },
  "hsl": {
    "h": 278.077,
    "s": 74.286,
    "l": 13.725
  },
  "oklch": {
    "l": 0.22927,
    "c": 0.09501,
    "h": 309.7
  },
  "luminance": 0.01025
}

Semantic roles & 50–950 ramp

primary
#2A093D
secondary
#467B27
accent
#F1377B
background
#F6F4F7
surface
#EBE7ED
border
#C6C3C8
text
#060108
muted
#7A777B

Preview Lab

Preview with #2A093D

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

Preview Lab → · Contrast checker → · Palette generator →

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