#261672#261672

#261672 is a dark, vivid violet. Relative luminance 0.022; OKLCH L 29.6% C 0.146 H 280.6°. Best body text is #FFFFFF at 14.58:1 contrast (WCAG AA passes).

Color values

HEX#261672
RGBrgb(38, 22, 114)
HSLhsl(250, 68%, 27%)
HSVhsv(250, 81%, 45%)
CMYKcmyk(66.7%, 80.7%, 0%, 55.3%)
CIE-LABlab(16.51, 35.56, -49.77)
CIE-LCHlch(16.51, 61.17, 305.55°)
OKLaboklab(29.6% 0.0269 -0.1436)
OKLCHoklch(29.6% 0.146 280.6)
XYZxyz(4.1225, 2.2005, 16.1238)
Luminance0.0220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#261672 #627216
analogous
#163472 #261672 #541672
triadic
#261672 #722616 #167226
tetradic
#261672 #721634 #627216 #167254
square
#261672 #721634 #627216 #167254
split-complementary
#261672 #725416 #347216
monochromatic
#09051A #150C3F #261672 #3720A5 #4A2CD6

Accessibility & contrast

On white

14.58
#261672 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#261672 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #261672
14.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##261672#FFFFFF#000000##FFFFFF
##2616721.0014.581.4414.58
#FFFFFF14.581.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002C75
Deuteranopia (green-blind)
#002570
Tritanopia (blue-blind)
#003143
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #261672;
/* rgb */ color: rgb(38, 22, 114);
/* oklch */ color: oklch(29.6% 0.146 280.6);
Tailwind
colors: {
  custom: {
    50: '#6c569c',
    500: '#261672',
    950: '#000000',
  },
}
SCSS
$custom: #261672;
$custom-light: #6c569c;
$custom-dark: #000000;
JSON
{
  "hex": "#261672",
  "rgb": {
    "r": 38,
    "g": 22,
    "b": 114
  },
  "hsl": {
    "h": 250.435,
    "s": 67.647,
    "l": 26.667
  },
  "oklch": {
    "l": 0.29602,
    "c": 0.14612,
    "h": 280.6
  },
  "luminance": 0.02201
}

Semantic roles & 50–950 ramp

primary
#261672
secondary
#95A83C
accent
#EB3DCC
background
#F6F5F9
surface
#ECE9F2
border
#C7C5CC
text
#08030E
muted
#7A787E

Preview Lab

Preview with #261672

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

Preview Lab → · Contrast checker → · Palette generator →

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