#261A54#261A54

#261A54 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.1% C 0.100 H 287.2°. Best body text is #FFFFFF at 15.46:1 contrast (WCAG AA passes).

Color values

HEX#261A54
RGBrgb(38, 26, 84)
HSLhsl(252, 53%, 22%)
HSVhsv(252, 69%, 33%)
CMYKcmyk(54.8%, 69%, 0%, 67.1%)
CIE-LABlab(14.35, 23.03, -33.44)
CIE-LCHlch(14.35, 40.60, 304.55°)
OKLaboklab(27.14% 0.0297 -0.0958)
OKLCHoklch(27.14% 0.1 287.2)
XYZxyz(2.7685, 1.7908, 8.5856)
Luminance0.0179 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A54 #48541A
analogous
#1A2B54 #261A54 #431A54
triadic
#261A54 #54261A #1A5426
tetradic
#261A54 #541A2B #48541A #1A5443
square
#261A54 #541A2B #48541A #1A5443
split-complementary
#261A54 #54431A #2B541A
monochromatic
#0B0717 #110C25 #261A54 #3B2883 #5037B1

Accessibility & contrast

On white

15.46
#261A54 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.36
#261A54 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261A54
15.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A54#FFFFFF#000000##FFFFFF
##261A541.0015.461.3615.46
#FFFFFF15.461.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002656
Deuteranopia (green-blind)
#002353
Tritanopia (blue-blind)
#152834
Achromatopsia (no color)
#242424

Design tokens & code

CSS
--color: #261a54;
/* rgb */ color: rgb(38, 26, 84);
/* oklch */ color: oklch(27.1% 0.100 287.2);
Tailwind
colors: {
  custom: {
    50: '#655785',
    500: '#261a54',
    950: '#000000',
  },
}
SCSS
$custom: #261a54;
$custom-light: #655785;
$custom-dark: #000000;
JSON
{
  "hex": "#261a54",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 84
  },
  "hsl": {
    "h": 252.414,
    "s": 52.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.27141,
    "c": 0.10033,
    "h": 287.2
  },
  "luminance": 0.01791
}

Semantic roles & 50–950 ramp

primary
#261A54
secondary
#7B8A40
accent
#DC4CBE
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261A54

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

Preview Lab → · Contrast checker → · Palette generator →

#261A54 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva