#261479#261479

#261479 is a dark, vivid violet. Relative luminance 0.023; OKLCH L 30.2% C 0.157 H 279.5°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#261479
RGBrgb(38, 20, 121)
HSLhsl(251, 72%, 28%)
HSVhsv(251, 83%, 47%)
CMYKcmyk(68.6%, 83.5%, 0%, 52.5%)
CIE-LABlab(16.95, 38.84, -53.54)
CIE-LCHlch(16.95, 66.14, 305.96°)
OKLaboklab(30.15% 0.0259 -0.1546)
OKLCHoklch(30.15% 0.157 279.5)
XYZxyz(4.4996, 2.2925, 18.2908)
Luminance0.0229 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261479 #677914
analogous
#143579 #261479 #581479
triadic
#261479 #792614 #147926
tetradic
#261479 #791435 #677914 #147958
square
#261479 #791435 #677914 #147958
split-complementary
#261479 #795814 #357914
monochromatic
#08041A #160B44 #261479 #361DAE #4B2BDC

Accessibility & contrast

On white

14.40
#261479 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#261479 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261479
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261479#FFFFFF#000000##FFFFFF
##2614791.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #261479;
/* rgb */ color: rgb(38, 20, 121);
/* oklch */ color: oklch(30.2% 0.157 279.5);
Tailwind
colors: {
  custom: {
    50: '#6e55a1',
    500: '#261479',
    950: '#000000',
  },
}
SCSS
$custom: #261479;
$custom-light: #6e55a1;
$custom-dark: #000000;
JSON
{
  "hex": "#261479",
  "rgb": {
    "r": 38,
    "g": 20,
    "b": 121
  },
  "hsl": {
    "h": 250.693,
    "s": 71.631,
    "l": 27.647
  },
  "oklch": {
    "l": 0.30151,
    "c": 0.15674,
    "h": 279.5
  },
  "luminance": 0.02293
}

Semantic roles & 50–950 ramp

primary
#261479
secondary
#9AAF3A
accent
#EE39CE
background
#F7F5FA
surface
#EDE9F3
border
#C8C5CD
text
#08030F
muted
#7B787F

Preview Lab

Preview with #261479

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

Preview Lab → · Contrast checker → · Palette generator →

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