#230F5C#230F5C

#230F5C is a dark, vivid violet. Relative luminance 0.015; OKLCH L 25.9% C 0.126 H 285.5°. Best body text is #FFFFFF at 16.22:1 contrast (WCAG AA passes).

Color values

HEX#230F5C
RGBrgb(35, 15, 92)
HSLhsl(256, 72%, 21%)
HSVhsv(256, 84%, 36%)
CMYKcmyk(62%, 83.7%, 0%, 63.9%)
CIE-LABlab(12.43, 31.81, -42.00)
CIE-LCHlch(12.43, 52.69, 307.14°)
OKLaboklab(25.94% 0.0336 -0.121)
OKLCHoklch(25.94% 0.126 285.5)
XYZxyz(2.7951, 1.4715, 10.2599)
Luminance0.0147 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#230F5C #485C0F
analogous
#0F215C #230F5C #490F5C
triadic
#230F5C #5C230F #0F5C23
tetradic
#230F5C #5C0F21 #485C0F #0F5C49
square
#230F5C #5C0F21 #485C0F #0F5C49
split-complementary
#230F5C #5C490F #215C0F
monochromatic
#0A041A #0F0627 #230F5C #371891 #4B20C5

Accessibility & contrast

On white

16.22
#230F5C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.29
#230F5C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #230F5C
16.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##230F5C#FFFFFF#000000##FFFFFF
##230F5C1.0016.221.2916.22
#FFFFFF16.221.0021.001.00
#0000001.2921.001.0021.00
##FFFFFF16.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#00225E
Deuteranopia (green-blind)
#001E5B
Tritanopia (blue-blind)
#052535
Achromatopsia (no color)
#202020

Design tokens & code

CSS
--color: #230f5c;
/* rgb */ color: rgb(35, 15, 92);
/* oklch */ color: oklch(25.9% 0.126 285.5);
Tailwind
colors: {
  custom: {
    50: '#66508b',
    500: '#230f5c',
    950: '#000000',
  },
}
SCSS
$custom: #230f5c;
$custom-light: #66508b;
$custom-dark: #000000;
JSON
{
  "hex": "#230f5c",
  "rgb": {
    "r": 35,
    "g": 15,
    "b": 92
  },
  "hsl": {
    "h": 255.584,
    "s": 71.963,
    "l": 20.98
  },
  "oklch": {
    "l": 0.25938,
    "c": 0.12558,
    "h": 285.5
  },
  "luminance": 0.01472
}

Semantic roles & 50–950 ramp

primary
#230F5C
secondary
#7B9531
accent
#EF39C0
background
#F6F4F8
surface
#EBE7F0
border
#C6C3CB
text
#06020C
muted
#7A787D

Preview Lab

Preview with #230F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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