#231060#231060

#231060 is a dark, vivid violet. Relative luminance 0.016; OKLCH L 26.5% C 0.130 H 284.1°. Best body text is #FFFFFF at 15.98:1 contrast (WCAG AA passes).

Color values

HEX#231060
RGBrgb(35, 16, 96)
HSLhsl(254, 71%, 22%)
HSVhsv(254, 83%, 38%)
CMYKcmyk(63.5%, 83.3%, 0%, 62.4%)
CIE-LABlab(13.06, 32.56, -43.63)
CIE-LCHlch(13.06, 54.45, 306.73°)
OKLaboklab(26.52% 0.0316 -0.1258)
OKLCHoklch(26.52% 0.13 284.1)
XYZxyz(2.9891, 1.5722, 11.2100)
Luminance0.0157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231060 #4D6010
analogous
#102560 #231060 #4B1060
triadic
#231060 #602310 #106023
tetradic
#231060 #601025 #4D6010 #10604B
square
#231060 #601025 #4D6010 #10604B
split-complementary
#231060 #604B10 #256010
monochromatic
#0A041A #10072C #231060 #361994 #4921C9

Accessibility & contrast

On white

15.98
#231060 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.31
#231060 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231060
15.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231060#FFFFFF#000000##FFFFFF
##2310601.0015.981.3115.98
#FFFFFF15.981.0021.001.00
#0000001.3121.001.0021.00
##FFFFFF15.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002462
Deuteranopia (green-blind)
#001F5F
Tritanopia (blue-blind)
#002838
Achromatopsia (no color)
#222222

Design tokens & code

CSS
--color: #231060;
/* rgb */ color: rgb(35, 16, 96);
/* oklch */ color: oklch(26.5% 0.130 284.1);
Tailwind
colors: {
  custom: {
    50: '#67518e',
    500: '#231060',
    950: '#000000',
  },
}
SCSS
$custom: #231060;
$custom-light: #67518e;
$custom-dark: #000000;
JSON
{
  "hex": "#231060",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 96
  },
  "hsl": {
    "h": 254.25,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.26516,
    "c": 0.12967,
    "h": 284.1
  },
  "luminance": 0.01572
}

Semantic roles & 50–950 ramp

primary
#231060
secondary
#819933
accent
#EE3AC3
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020C
muted
#7A787D

Preview Lab

Preview with #231060

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

Preview Lab → · Contrast checker → · Palette generator →

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