#261480#261480

#261480 is a dark, vivid violet. Relative luminance 0.025; OKLCH L 31.0% C 0.165 H 278.2°. Best body text is #FFFFFF at 14.05:1 contrast (WCAG AA passes).

Color values

HEX#261480
RGBrgb(38, 20, 128)
HSLhsl(250, 73%, 29%)
HSVhsv(250, 84%, 50%)
CMYKcmyk(70.3%, 84.4%, 0%, 49.8%)
CIE-LABlab(17.78, 41.03, -56.63)
CIE-LCHlch(17.78, 69.93, 305.92°)
OKLaboklab(30.97% 0.0236 -0.1636)
OKLCHoklch(30.97% 0.165 278.2)
XYZxyz(4.9445, 2.4705, 20.6342)
Luminance0.0247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261480 #6E8014
analogous
#143880 #261480 #5C1480
triadic
#261480 #802614 #148026
tetradic
#261480 #801438 #6E8014 #14805C
square
#261480 #801438 #6E8014 #14805C
split-complementary
#261480 #805C14 #388014
monochromatic
#08041A #160C4B #261480 #361CB5 #4D30DF

Accessibility & contrast

On white

14.05
#261480 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#261480 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261480
14.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261480#FFFFFF#000000##FFFFFF
##2614801.0014.051.4914.05
#FFFFFF14.051.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#003083
Deuteranopia (green-blind)
#00277E
Tritanopia (blue-blind)
#00364B
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #261480;
/* rgb */ color: rgb(38, 20, 128);
/* oklch */ color: oklch(31.0% 0.165 278.2);
Tailwind
colors: {
  custom: {
    50: '#6f56a6',
    500: '#261480',
    950: '#000000',
  },
}
SCSS
$custom: #261480;
$custom-light: #6f56a6;
$custom-dark: #000000;
JSON
{
  "hex": "#261480",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 128
  },
  "hsl": {
    "h": 250,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.3097,
    "c": 0.16528,
    "h": 278.2
  },
  "luminance": 0.02471
}

Semantic roles & 50–950 ramp

primary
#261480
secondary
#A1B53B
accent
#F038D1
background
#F7F5FA
surface
#EDE9F4
border
#C8C5CE
text
#09030F
muted
#7B787F

Preview Lab

Preview with #261480

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

Preview Lab → · Contrast checker → · Palette generator →

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