#261670#261670

#261670 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.4% C 0.144 H 281.0°. Best body text is #FFFFFF at 14.67:1 contrast (WCAG AA passes).

Color values

HEX#261670
RGBrgb(38, 22, 112)
HSLhsl(251, 67%, 26%)
HSVhsv(251, 80%, 44%)
CMYKcmyk(66.1%, 80.4%, 0%, 56.1%)
CIE-LABlab(16.28, 34.91, -48.84)
CIE-LCHlch(16.28, 60.03, 305.56°)
OKLaboklab(29.38% 0.0275 -0.1409)
OKLCHoklch(29.38% 0.144 281)
XYZxyz(4.0099, 2.1554, 15.5308)
Luminance0.0216 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261670 #607016
analogous
#163370 #261670 #531670
triadic
#261670 #702616 #167026
tetradic
#261670 #701633 #607016 #167053
square
#261670 #701633 #607016 #167053
split-complementary
#261670 #705316 #337016
monochromatic
#09051A #150C3D #261670 #3720A3 #492BD5

Accessibility & contrast

On white

14.67
#261670 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.43
#261670 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261670
14.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261670#FFFFFF#000000##FFFFFF
##2616701.0014.671.4314.67
#FFFFFF14.671.0021.001.00
#0000001.4321.001.0021.00
##FFFFFF14.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002B73
Deuteranopia (green-blind)
#00256E
Tritanopia (blue-blind)
#003042
Achromatopsia (no color)
#282828

Design tokens & code

CSS
--color: #261670;
/* rgb */ color: rgb(38, 22, 112);
/* oklch */ color: oklch(29.4% 0.144 281.0);
Tailwind
colors: {
  custom: {
    50: '#6c569a',
    500: '#261670',
    950: '#000000',
  },
}
SCSS
$custom: #261670;
$custom-light: #6c569a;
$custom-dark: #000000;
JSON
{
  "hex": "#261670",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 112
  },
  "hsl": {
    "h": 250.667,
    "s": 67.164,
    "l": 26.275
  },
  "oklch": {
    "l": 0.29379,
    "c": 0.14357,
    "h": 281
  },
  "luminance": 0.02156
}

Semantic roles & 50–950 ramp

primary
#261670
secondary
#93A63C
accent
#EA3ECB
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261670

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

Preview Lab → · Contrast checker → · Palette generator →

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