#261280#261280

#261280 is a dark, vivid violet. Relative luminance 0.024; OKLCH L 30.8% C 0.167 H 278.4°. Best body text is #FFFFFF at 14.18:1 contrast (WCAG AA passes).

Color values

HEX#261280
RGBrgb(38, 18, 128)
HSLhsl(251, 75%, 29%)
HSVhsv(251, 86%, 50%)
CMYKcmyk(70.3%, 85.9%, 0%, 49.8%)
CIE-LABlab(17.47, 41.94, -57.15)
CIE-LCHlch(17.47, 70.89, 306.28°)
OKLaboklab(30.76% 0.0245 -0.165)
OKLCHoklch(30.76% 0.167 278.4)
XYZxyz(4.9107, 2.4028, 20.6229)
Luminance0.0240 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261280 #6C8012
analogous
#123580 #261280 #5D1280
triadic
#261280 #802612 #128026
tetradic
#261280 #801235 #6C8012 #12805D
square
#261280 #801235 #6C8012 #12805D
split-complementary
#261280 #805D12 #358012
monochromatic
#08041B #160A4A #261280 #361AB6 #4C2BE1

Accessibility & contrast

On white

14.18
#261280 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#261280 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261280
14.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261280#FFFFFF#000000##FFFFFF
##2612801.0014.181.4814.18
#FFFFFF14.181.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002F83
Deuteranopia (green-blind)
#00267E
Tritanopia (blue-blind)
#00354B
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #261280;
/* rgb */ color: rgb(38, 18, 128);
/* oklch */ color: oklch(30.8% 0.167 278.4);
Tailwind
colors: {
  custom: {
    50: '#7055a6',
    500: '#261280',
    950: '#000000',
  },
}
SCSS
$custom: #261280;
$custom-light: #7055a6;
$custom-dark: #000000;
JSON
{
  "hex": "#261280",
  "rgb": {
    "r": 38,
    "g": 18,
    "b": 128
  },
  "hsl": {
    "h": 250.909,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.30755,
    "c": 0.16684,
    "h": 278.4
  },
  "luminance": 0.02403
}

Semantic roles & 50–950 ramp

primary
#261280
secondary
#9FB638
accent
#F236D0
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #261280

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

Preview Lab → · Contrast checker → · Palette generator →

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