#230C55#230C55

#230C55 is a very dark, moderate violet. Relative luminance 0.013; OKLCH L 24.8% C 0.120 H 288.7°. Best body text is #FFFFFF at 16.73:1 contrast (WCAG AA passes).

Color values

HEX#230C55
RGBrgb(35, 12, 85)
HSLhsl(259, 75%, 19%)
HSVhsv(259, 86%, 33%)
CMYKcmyk(58.8%, 85.9%, 0%, 66.7%)
CIE-LABlab(11.11, 31.14, -39.44)
CIE-LCHlch(11.11, 50.25, 308.29°)
OKLaboklab(24.78% 0.0383 -0.1135)
OKLCHoklch(24.78% 0.12 288.7)
XYZxyz(2.4638, 1.2760, 8.7090)
Luminance0.0128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C55 #3E550C
analogous
#0C1A55 #230C55 #480C55
triadic
#230C55 #55230C #0C5523
tetradic
#230C55 #550C1A #3E550C #0C5548
square
#230C55 #550C1A #3E550C #0C5548
split-complementary
#230C55 #55480C #1A550C
monochromatic
#0B041B #0D041F #230C55 #39148B #4F1BC0

Accessibility & contrast

On white

16.73
#230C55 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.26
#230C55 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C55
16.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C55#FFFFFF#000000##FFFFFF
##230C551.0016.731.2616.73
#FFFFFF16.731.0021.001.00
#0000001.2621.001.0021.00
##FFFFFF16.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F57
Deuteranopia (green-blind)
#001C54
Tritanopia (blue-blind)
#0E2131
Achromatopsia (no color)
#1E1E1E

Design tokens & code

CSS
--color: #230c55;
/* rgb */ color: rgb(35, 12, 85);
/* oklch */ color: oklch(24.8% 0.120 288.7);
Tailwind
colors: {
  custom: {
    50: '#654e86',
    500: '#230c55',
    950: '#000000',
  },
}
SCSS
$custom: #230c55;
$custom-light: #654e86;
$custom-dark: #000000;
JSON
{
  "hex": "#230c55",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 85
  },
  "hsl": {
    "h": 258.904,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.24784,
    "c": 0.11976,
    "h": 288.7
  },
  "luminance": 0.01276
}

Semantic roles & 50–950 ramp

primary
#230C55
secondary
#71902D
accent
#F236B7
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230C55

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

Preview Lab → · Contrast checker → · Palette generator →

#230C55 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva