#230C53#230C53

#230C53 is a very dark, moderate violet. Relative luminance 0.012; OKLCH L 24.6% C 0.117 H 289.5°. Best body text is #FFFFFF at 16.81:1 contrast (WCAG AA passes).

Color values

HEX#230C53
RGBrgb(35, 12, 83)
HSLhsl(259, 75%, 19%)
HSVhsv(259, 86%, 33%)
CMYKcmyk(57.8%, 85.5%, 0%, 67.5%)
CIE-LABlab(10.88, 30.52, -38.44)
CIE-LCHlch(10.88, 49.08, 308.45°)
OKLaboklab(24.56% 0.039 -0.1105)
OKLCHoklch(24.56% 0.117 289.5)
XYZxyz(2.3855, 1.2447, 8.2965)
Luminance0.0124 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230C53 #3C530C
analogous
#0C1853 #230C53 #460C53
triadic
#230C53 #53230C #0C5323
tetradic
#230C53 #530C18 #3C530C #0C5346
square
#230C53 #530C18 #3C530C #0C5346
split-complementary
#230C53 #53460C #18530C
monochromatic
#0B041B #0C041E #230C53 #3A1488 #501BBE

Accessibility & contrast

On white

16.81
#230C53 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.25
#230C53 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230C53
16.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230C53#FFFFFF#000000##FFFFFF
##230C531.0016.811.2516.81
#FFFFFF16.811.0021.001.00
#0000001.2521.001.0021.00
##FFFFFF16.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#001F55
Deuteranopia (green-blind)
#001B52
Tritanopia (blue-blind)
#10212F
Achromatopsia (no color)
#1D1D1D

Design tokens & code

CSS
--color: #230c53;
/* rgb */ color: rgb(35, 12, 83);
/* oklch */ color: oklch(24.6% 0.117 289.5);
Tailwind
colors: {
  custom: {
    50: '#654e84',
    500: '#230c53',
    950: '#000000',
  },
}
SCSS
$custom: #230c53;
$custom-light: #654e84;
$custom-dark: #000000;
JSON
{
  "hex": "#230c53",
  "rgb": {
    "r": 35,
    "g": 12,
    "b": 83
  },
  "hsl": {
    "h": 259.437,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.24561,
    "c": 0.11723,
    "h": 289.5
  },
  "luminance": 0.01245
}

Semantic roles & 50–950 ramp

primary
#230C53
secondary
#6F8E2D
accent
#F136B5
background
#F6F4F8
surface
#EBE7EF
border
#C6C3CA
text
#06020B
muted
#7A787C

Preview Lab

Preview with #230C53

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

Preview Lab → · Contrast checker → · Palette generator →

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