#231056#231056

#231056 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.4% C 0.117 H 287.3°. Best body text is #FFFFFF at 16.41:1 contrast (WCAG AA passes).

Color values

HEX#231056
RGBrgb(35, 16, 86)
HSLhsl(256, 69%, 20%)
HSVhsv(256, 81%, 34%)
CMYKcmyk(59.3%, 81.4%, 0%, 66.3%)
CIE-LABlab(11.96, 29.33, -38.72)
CIE-LCHlch(11.96, 48.58, 307.15°)
OKLaboklab(25.41% 0.0347 -0.1114)
OKLCHoklch(25.41% 0.117 287.3)
XYZxyz(2.5576, 1.3997, 8.9377)
Luminance0.0140 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231056 #435610
analogous
#102056 #231056 #461056
triadic
#231056 #562310 #105623
tetradic
#231056 #561020 #435610 #105646
square
#231056 #561020 #435610 #105646
split-complementary
#231056 #564610 #205610
monochromatic
#0B051A #0E0622 #231056 #381A8A #4D23BD

Accessibility & contrast

On white

16.41
#231056 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.28
#231056 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231056
16.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231056#FFFFFF#000000##FFFFFF
##2310561.0016.411.2816.41
#FFFFFF16.411.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002158
Deuteranopia (green-blind)
#001D55
Tritanopia (blue-blind)
#0D2432
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #231056;
/* rgb */ color: rgb(35, 16, 86);
/* oklch */ color: oklch(25.4% 0.117 287.3);
Tailwind
colors: {
  custom: {
    50: '#655086',
    500: '#231056',
    950: '#000000',
  },
}
SCSS
$custom: #231056;
$custom-light: #655086;
$custom-dark: #000000;
JSON
{
  "hex": "#231056",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 86
  },
  "hsl": {
    "h": 256.286,
    "s": 68.627,
    "l": 20
  },
  "oklch": {
    "l": 0.2541,
    "c": 0.1167,
    "h": 287.3
  },
  "luminance": 0.014
}

Semantic roles & 50–950 ramp

primary
#231056
secondary
#768F32
accent
#EB3CBC
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231056

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

Preview Lab → · Contrast checker → · Palette generator →

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