#231260#231260

#231260 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.8% C 0.128 H 283.7°. Best body text is #FFFFFF at 15.83:1 contrast (WCAG AA passes).

Color values

HEX#231260
RGBrgb(35, 18, 96)
HSLhsl(253, 68%, 22%)
HSVhsv(253, 81%, 38%)
CMYKcmyk(63.5%, 81.3%, 0%, 62.4%)
CIE-LABlab(13.44, 31.48, -43.01)
CIE-LCHlch(13.44, 53.30, 306.20°)
OKLaboklab(26.78% 0.0301 -0.124)
OKLCHoklch(26.78% 0.128 283.7)
XYZxyz(3.0201, 1.6343, 11.2204)
Luminance0.0163 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231260 #4F6012
analogous
#122860 #231260 #4A1260
triadic
#231260 #602312 #126023
tetradic
#231260 #601228 #4F6012 #12604A
square
#231260 #601228 #4F6012 #12604A
split-complementary
#231260 #604A12 #286012
monochromatic
#09051A #10082C #231260 #361C94 #4925C7

Accessibility & contrast

On white

15.83
#231260 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231260
15.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231260#FFFFFF#000000##FFFFFF
##2312601.0015.831.3315.83
#FFFFFF15.831.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002562
Deuteranopia (green-blind)
#00205F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #231260;
/* rgb */ color: rgb(35, 18, 96);
/* oklch */ color: oklch(26.8% 0.128 283.7);
Tailwind
colors: {
  custom: {
    50: '#67528e',
    500: '#231260',
    950: '#000000',
  },
}
SCSS
$custom: #231260;
$custom-light: #67528e;
$custom-dark: #000000;
JSON
{
  "hex": "#231260",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 96
  },
  "hsl": {
    "h": 253.077,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.26779,
    "c": 0.12758,
    "h": 283.7
  },
  "luminance": 0.01634
}

Semantic roles & 50–950 ramp

primary
#231260
secondary
#839836
accent
#EB3DC5
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #231260

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

Preview Lab → · Contrast checker → · Palette generator →

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