#3A269A#3A269A

#3A269A is a dark, vivid violet. Relative luminance 0.046; OKLCH L 37.7% C 0.176 H 281.7°. Best body text is #FFFFFF at 10.92:1 contrast (WCAG AA passes).

Color values

HEX#3A269A
RGBrgb(58, 38, 154)
HSLhsl(250, 60%, 38%)
HSVhsv(250, 75%, 60%)
CMYKcmyk(62.3%, 75.3%, 0%, 39.6%)
CIE-LABlab(25.62, 42.16, -59.85)
CIE-LCHlch(25.62, 73.21, 305.16°)
OKLaboklab(37.73% 0.0358 -0.1726)
OKLCHoklch(37.73% 0.176 281.7)
XYZxyz(8.2689, 4.6183, 31.0213)
Luminance0.0462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3A269A #869A26
analogous
#264C9A #3A269A #74269A
triadic
#3A269A #9A3A26 #269A3A
tetradic
#3A269A #9A264C #869A26 #269A74
square
#3A269A #9A264C #869A26 #269A74
split-complementary
#3A269A #9A7426 #4C9A26
monochromatic
#150E38 #281A69 #3A269A #4C32CB #7662D8

Accessibility & contrast

On white

10.92
#3A269A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.92
#3A269A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3A269A
10.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3A269A#FFFFFF#000000##FFFFFF
##3A269A1.0010.921.9210.92
#FFFFFF10.921.0021.001.00
#0000001.9221.001.0021.00
##FFFFFF10.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00419D
Deuteranopia (green-blind)
#003898
Tritanopia (blue-blind)
#00475E
Achromatopsia (no color)
#3D3D3D

Design tokens & code

CSS
--color: #3a269a;
/* rgb */ color: rgb(58, 38, 154);
/* oklch */ color: oklch(37.7% 0.176 281.7);
Tailwind
colors: {
  custom: {
    50: '#7d63b9',
    500: '#3a269a',
    950: '#000000',
  },
}
SCSS
$custom: #3a269a;
$custom-light: #7d63b9;
$custom-dark: #000000;
JSON
{
  "hex": "#3a269a",
  "rgb": {
    "r": 58,
    "g": 38,
    "b": 154
  },
  "hsl": {
    "h": 250.345,
    "s": 60.417,
    "l": 37.647
  },
  "oklch": {
    "l": 0.37731,
    "c": 0.17627,
    "h": 281.7
  },
  "luminance": 0.04619
}

Semantic roles & 50–950 ramp

primary
#3A269A
secondary
#ADBE5E
accent
#E444C8
background
#F8F6FB
surface
#EFEBF6
border
#CAC6D0
text
#0B0512
muted
#7C7A81

Preview Lab

Preview with #3A269A

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

Preview Lab → · Contrast checker → · Palette generator →

#3A269A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva