#231055#231055

#231055 is a dark, moderate violet. Relative luminance 0.014; OKLCH L 25.3% C 0.115 H 287.7°. Best body text is #FFFFFF at 16.45:1 contrast (WCAG AA passes).

Color values

HEX#231055
RGBrgb(35, 16, 85)
HSLhsl(257, 68%, 20%)
HSVhsv(257, 81%, 33%)
CMYKcmyk(58.8%, 81.2%, 0%, 66.7%)
CIE-LABlab(11.85, 29.01, -38.22)
CIE-LCHlch(11.85, 47.98, 307.20°)
OKLaboklab(25.3% 0.035 -0.1099)
OKLCHoklch(25.3% 0.115 287.7)
XYZxyz(2.5176, 1.3837, 8.7270)
Luminance0.0138 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231055 #425510
analogous
#101F55 #231055 #461055
triadic
#231055 #552310 #105523
tetradic
#231055 #55101F #425510 #105546
square
#231055 #55101F #425510 #105546
split-complementary
#231055 #554610 #1F5510
monochromatic
#0B051A #0E0621 #231055 #381A89 #4D23BC

Accessibility & contrast

On white

16.45
#231055 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #231055
16.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231055#FFFFFF#000000##FFFFFF
##2310551.0016.451.2816.45
#FFFFFF16.451.0021.001.00
#0000001.2821.001.0021.00
##FFFFFF16.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002157
Deuteranopia (green-blind)
#001D54
Tritanopia (blue-blind)
#0E2331
Achromatopsia (no color)
#1F1F1F

Design tokens & code

CSS
--color: #231055;
/* rgb */ color: rgb(35, 16, 85);
/* oklch */ color: oklch(25.3% 0.115 287.7);
Tailwind
colors: {
  custom: {
    50: '#655086',
    500: '#231055',
    950: '#000000',
  },
}
SCSS
$custom: #231055;
$custom-light: #655086;
$custom-dark: #000000;
JSON
{
  "hex": "#231055",
  "rgb": {
    "r": 35,
    "g": 16,
    "b": 85
  },
  "hsl": {
    "h": 256.522,
    "s": 68.317,
    "l": 19.804
  },
  "oklch": {
    "l": 0.25302,
    "c": 0.11538,
    "h": 287.7
  },
  "luminance": 0.01384
}

Semantic roles & 50–950 ramp

primary
#231055
secondary
#758F32
accent
#EB3DBB
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231055

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

Preview Lab → · Contrast checker → · Palette generator →

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