#261966#261966

#261966 is a dark, vivid violet. Relative luminance 0.021; OKLCH L 28.7% C 0.127 H 282.6°. Best body text is #FFFFFF at 14.86:1 contrast (WCAG AA passes).

Color values

HEX#261966
RGBrgb(38, 25, 102)
HSLhsl(250, 61%, 25%)
HSVhsv(250, 75%, 40%)
CMYKcmyk(62.7%, 75.5%, 0%, 60%)
CIE-LABlab(15.83, 29.84, -43.04)
CIE-LCHlch(15.83, 52.37, 304.74°)
OKLaboklab(28.74% 0.0277 -0.124)
OKLCHoklch(28.74% 0.127 282.6)
XYZxyz(3.5445, 2.0664, 12.7799)
Luminance0.0207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261966 #596619
analogous
#193266 #261966 #4D1966
triadic
#261966 #662619 #196626
tetradic
#261966 #661932 #596619 #19664D
square
#261966 #661932 #596619 #19664D
split-complementary
#261966 #664D19 #326619
monochromatic
#090619 #140D35 #261966 #382597 #4B31C8

Accessibility & contrast

On white

14.86
#261966 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#261966 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261966
14.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261966#FFFFFF#000000##FFFFFF
##2619661.0014.861.4114.86
#FFFFFF14.861.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002A68
Deuteranopia (green-blind)
#002565
Tritanopia (blue-blind)
#002E3D
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #261966;
/* rgb */ color: rgb(38, 25, 102);
/* oklch */ color: oklch(28.7% 0.127 282.6);
Tailwind
colors: {
  custom: {
    50: '#695792',
    500: '#261966',
    950: '#000000',
  },
}
SCSS
$custom: #261966;
$custom-light: #695792;
$custom-dark: #000000;
JSON
{
  "hex": "#261966",
  "rgb": {
    "r": 38,
    "g": 25,
    "b": 102
  },
  "hsl": {
    "h": 250.13,
    "s": 60.63,
    "l": 24.902
  },
  "oklch": {
    "l": 0.28739,
    "c": 0.12706,
    "h": 282.6
  },
  "luminance": 0.02067
}

Semantic roles & 50–950 ramp

primary
#261966
secondary
#8C9C3F
accent
#E444C9
background
#F6F5F9
surface
#EBE9F1
border
#C6C5CB
text
#07030D
muted
#7A787E

Preview Lab

Preview with #261966

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

Preview Lab → · Contrast checker → · Palette generator →

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