#261A55#261A55

#261A55 is a dark, moderate violet. Relative luminance 0.018; OKLCH L 27.2% C 0.102 H 286.9°. Best body text is #FFFFFF at 15.43:1 contrast (WCAG AA passes).

Color values

HEX#261A55
RGBrgb(38, 26, 85)
HSLhsl(252, 53%, 22%)
HSVhsv(252, 69%, 33%)
CMYKcmyk(55.3%, 69.4%, 0%, 66.7%)
CIE-LABlab(14.44, 23.37, -33.97)
CIE-LCHlch(14.44, 41.23, 304.53°)
OKLaboklab(27.23% 0.0296 -0.0974)
OKLCHoklch(27.23% 0.102 286.9)
XYZxyz(2.8079, 1.8066, 8.7933)
Luminance0.0181 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261A55 #49551A
analogous
#1A2C55 #261A55 #441A55
triadic
#261A55 #55261A #1A5526
tetradic
#261A55 #551A2C #49551A #1A5544
square
#261A55 #551A2C #49551A #1A5544
split-complementary
#261A55 #55441A #2C551A
monochromatic
#0A0717 #110C26 #261A55 #3B2884 #5037B3

Accessibility & contrast

On white

15.43
#261A55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #261A55
15.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261A55#FFFFFF#000000##FFFFFF
##261A551.0015.431.3615.43
#FFFFFF15.431.0021.001.00
#0000001.3621.001.0021.00
##FFFFFF15.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261a55;
/* rgb */ color: rgb(38, 26, 85);
/* oklch */ color: oklch(27.2% 0.102 286.9);
Tailwind
colors: {
  custom: {
    50: '#655785',
    500: '#261a55',
    950: '#000000',
  },
}
SCSS
$custom: #261a55;
$custom-light: #655785;
$custom-dark: #000000;
JSON
{
  "hex": "#261a55",
  "rgb": {
    "r": 38,
    "g": 26,
    "b": 85
  },
  "hsl": {
    "h": 252.203,
    "s": 53.153,
    "l": 21.765
  },
  "oklch": {
    "l": 0.27234,
    "c": 0.10179,
    "h": 286.9
  },
  "luminance": 0.01807
}

Semantic roles & 50–950 ramp

primary
#261A55
secondary
#7C8B40
accent
#DD4BBF
background
#F6F5F8
surface
#EBE9EF
border
#C6C5CA
text
#06030B
muted
#7A787C

Preview Lab

Preview with #261A55

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

Preview Lab → · Contrast checker → · Palette generator →

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