#231355#231355

#231355 is a dark, moderate violet. Relative luminance 0.015; OKLCH L 25.7% C 0.112 H 286.8°. Best body text is #FFFFFF at 16.21:1 contrast (WCAG AA passes).

Color values

HEX#231355
RGBrgb(35, 19, 85)
HSLhsl(255, 63%, 20%)
HSVhsv(255, 78%, 33%)
CMYKcmyk(58.8%, 77.6%, 0%, 66.7%)
CIE-LABlab(12.47, 27.25, -37.19)
CIE-LCHlch(12.47, 46.11, 306.23°)
OKLaboklab(25.74% 0.0323 -0.1069)
OKLCHoklch(25.74% 0.112 286.8)
XYZxyz(2.5652, 1.4788, 8.7428)
Luminance0.0148 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231355 #455513
analogous
#132455 #231355 #441355
triadic
#231355 #552313 #135523
tetradic
#231355 #551324 #455513 #135544
square
#231355 #551324 #455513 #135544
split-complementary
#231355 #554413 #245513
monochromatic
#0A0619 #0E0823 #231355 #381E87 #4C29B9

Accessibility & contrast

On white

16.21
#231355 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.30
#231355 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231355
16.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231355#FFFFFF#000000##FFFFFF
##2313551.0016.211.3016.21
#FFFFFF16.211.0021.001.00
#0000001.3021.001.0021.00
##FFFFFF16.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002257
Deuteranopia (green-blind)
#001F54
Tritanopia (blue-blind)
#0E2532
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #231355;
/* rgb */ color: rgb(35, 19, 85);
/* oklch */ color: oklch(25.7% 0.112 286.8);
Tailwind
colors: {
  custom: {
    50: '#645286',
    500: '#231355',
    950: '#000000',
  },
}
SCSS
$custom: #231355;
$custom-light: #645286;
$custom-dark: #000000;
JSON
{
  "hex": "#231355",
  "rgb": {
    "r": 35,
    "g": 19,
    "b": 85
  },
  "hsl": {
    "h": 254.545,
    "s": 63.462,
    "l": 20.392
  },
  "oklch": {
    "l": 0.25743,
    "c": 0.11171,
    "h": 286.8
  },
  "luminance": 0.01479
}

Semantic roles & 50–950 ramp

primary
#231355
secondary
#788D36
accent
#E641BE
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #231355

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

Preview Lab → · Contrast checker → · Palette generator →

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