#261579#261579

#261579 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.3% C 0.156 H 279.4°. Best body text is #FFFFFF at 14.33:1 contrast (WCAG AA passes).

Color values

HEX#261579
RGBrgb(38, 21, 121)
HSLhsl(250, 70%, 28%)
HSVhsv(250, 83%, 47%)
CMYKcmyk(68.6%, 82.6%, 0%, 52.5%)
CIE-LABlab(17.12, 38.34, -53.25)
CIE-LCHlch(17.12, 65.62, 305.75°)
OKLaboklab(30.27% 0.0253 -0.1538)
OKLCHoklch(30.27% 0.156 279.4)
XYZxyz(4.5176, 2.3285, 18.2968)
Luminance0.0233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261579 #687915
analogous
#153679 #261579 #581579
triadic
#261579 #792615 #157926
tetradic
#261579 #791536 #687915 #157958
square
#261579 #791536 #687915 #157958
split-complementary
#261579 #795815 #367915
monochromatic
#08051A #160C45 #261579 #361EAD #4B2EDB

Accessibility & contrast

On white

14.33
#261579 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#261579 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261579
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261579#FFFFFF#000000##FFFFFF
##2615791.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002E7C
Deuteranopia (green-blind)
#002677
Tritanopia (blue-blind)
#003347
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #261579;
/* rgb */ color: rgb(38, 21, 121);
/* oklch */ color: oklch(30.3% 0.156 279.4);
Tailwind
colors: {
  custom: {
    50: '#6e56a1',
    500: '#261579',
    950: '#000000',
  },
}
SCSS
$custom: #261579;
$custom-light: #6e56a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261579",
  "rgb": {
    "r": 38,
    "g": 21,
    "b": 121
  },
  "hsl": {
    "h": 250.2,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.3027,
    "c": 0.15585,
    "h": 279.4
  },
  "luminance": 0.02329
}

Semantic roles & 50–950 ramp

primary
#261579
secondary
#9BAF3B
accent
#ED3BCF
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261579

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

Preview Lab → · Contrast checker → · Palette generator →

#261579 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva