#231263#231263

#231263 is a dark, vivid violet. Relative luminance 0.017; OKLCH L 27.1% C 0.131 H 282.8°. Best body text is #FFFFFF at 15.69:1 contrast (WCAG AA passes).

Color values

HEX#231263
RGBrgb(35, 18, 99)
HSLhsl(253, 69%, 23%)
HSVhsv(253, 82%, 39%)
CMYKcmyk(64.6%, 81.8%, 0%, 61.2%)
CIE-LABlab(13.77, 32.46, -44.46)
CIE-LCHlch(13.77, 55.05, 306.14°)
OKLaboklab(27.11% 0.0292 -0.1282)
OKLCHoklch(27.11% 0.131 282.8)
XYZxyz(3.1609, 1.6906, 11.9617)
Luminance0.0169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#231263 #526312
analogous
#122963 #231263 #4C1263
triadic
#231263 #632312 #126323
tetradic
#231263 #631229 #526312 #12634C
square
#231263 #631229 #526312 #12634C
split-complementary
#231263 #634C12 #296312
monochromatic
#09051A #11092F #231263 #351B97 #4825CB

Accessibility & contrast

On white

15.69
#231263 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.34
#231263 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #231263
15.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##231263#FFFFFF#000000##FFFFFF
##2312631.0015.691.3415.69
#FFFFFF15.691.0021.001.00
#0000001.3421.001.0021.00
##FFFFFF15.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#002665
Deuteranopia (green-blind)
#002062
Tritanopia (blue-blind)
#002A3A
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #231263;
/* rgb */ color: rgb(35, 18, 99);
/* oklch */ color: oklch(27.1% 0.131 282.8);
Tailwind
colors: {
  custom: {
    50: '#685290',
    500: '#231263',
    950: '#000000',
  },
}
SCSS
$custom: #231263;
$custom-light: #685290;
$custom-dark: #000000;
JSON
{
  "hex": "#231263",
  "rgb": {
    "r": 35,
    "g": 18,
    "b": 99
  },
  "hsl": {
    "h": 252.593,
    "s": 69.231,
    "l": 22.941
  },
  "oklch": {
    "l": 0.27114,
    "c": 0.13148,
    "h": 282.8
  },
  "luminance": 0.01691
}

Semantic roles & 50–950 ramp

primary
#231263
secondary
#869B36
accent
#EC3CC7
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#07020D
muted
#7A787D

Preview Lab

Preview with #231263

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

Preview Lab → · Contrast checker → · Palette generator →

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