#231261#231261

#231261 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 26.9% C 0.129 H 283.4°. Best body text is #FFFFFF at 15.78:1 contrast (WCAG AA passes).

Color values

HEX#231261
RGBrgb(35, 18, 97)
HSLhsl(253, 69%, 23%)
HSVhsv(253, 81%, 38%)
CMYKcmyk(63.9%, 81.4%, 0%, 62%)
CIE-LABlab(13.55, 31.81, -43.50)
CIE-LCHlch(13.55, 53.89, 306.18°)
OKLaboklab(26.89% 0.0298 -0.1254)
OKLCHoklch(26.89% 0.129 283.4)
XYZxyz(3.0664, 1.6528, 11.4644)
Luminance0.0165 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231261 #506112
analogous
#122961 #231261 #4A1261
triadic
#231261 #612312 #126123
tetradic
#231261 #611229 #506112 #12614A
square
#231261 #611229 #506112 #12614A
split-complementary
#231261 #614A12 #296112
monochromatic
#09051A #10082D #231261 #361C95 #4825C8

Accessibility & contrast

On white

15.78
#231261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#231261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231261
15.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231261#FFFFFF#000000##FFFFFF
##2312611.0015.781.3315.78
#FFFFFF15.781.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002563
Deuteranopia (green-blind)
#002060
Tritanopia (blue-blind)
#002939
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231261;
/* rgb */ color: rgb(35, 18, 97);
/* oklch */ color: oklch(26.9% 0.129 283.4);
Tailwind
colors: {
  custom: {
    50: '#67528f',
    500: '#231261',
    950: '#000000',
  },
}
SCSS
$custom: #231261;
$custom-light: #67528f;
$custom-dark: #000000;
JSON
{
  "hex": "#231261",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 97
  },
  "hsl": {
    "h": 252.911,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.2689,
    "c": 0.12889,
    "h": 283.4
  },
  "luminance": 0.01653
}

Semantic roles & 50–950 ramp

primary
#231261
secondary
#849936
accent
#EC3CC6
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #231261

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

Preview Lab → · Contrast checker → · Palette generator →

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